Commit d7a09e07 authored by Michael Rouse's avatar Michael Rouse

Moved SQLITE to a third party folder to avoid clutter

parent afad5daf
......@@ -8,8 +8,8 @@ SHELL_OUT = $(BUILD_DIR)/timeslime
SHELL_SOURCES = shell/shell.c shell/args/args.c
SHELL_HEADERS = shell/args/args.h
LIBRARY_SOURCES = timeslime.c sqlite3.c
LIBRARY_HEADERS = timeslime.h sqlite3.h
LIBRARY_SOURCES = timeslime.c third_party/sqlite3/sqlite3.c
LIBRARY_HEADERS = timeslime.h third_party/sqlite3/sqlite3.h
MKDIR = mkdir
......
......@@ -13,13 +13,8 @@ int main(int argc, char *argv[])
{
TimeSlime_Initialize("build");
TimeSlime_AddHours(2.3, TIMESLIME_DATE_NOW);
TimeSlime_ClockIn(TIMESLIME_CLOCK_IN_NOW);
if (TimeSlime_ClockIn(TIMESLIME_CLOCK_IN_NOW) != TIMESLIME_OK)
printf(":(\n");
TimeSlime_ClockOut(TIMESLIME_CLOCK_OUT_NOW);
TimeSlime_Close();
return 0;
}
......
......@@ -4,7 +4,7 @@
* Authors: Michael Rouse
*/
#include "timeslime.h"
#include "sqlite3.h"
#include "third_party/sqlite3/sqlite3.h"
/* Row result for internal library use */
struct TIMESLIME_INT_ROW_STRUCT {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment