modified: Makefile

modified:   src/db.c
	new file:   src/shell.c
This commit is contained in:
simon committed 2024-12-13 19:25:31 +01:00
1 parent b6e51b6f06
commit d53c0762be
3 files changed
+33407 -40

No files matched your search

+9 -4
View File
@@ -13,10 +13,18 @@ CONFIG=src/config.h #config file
#targets
debug: test ui planner db iCal config llist
debug: db test ui planner iCal config llist
gcc test.o ui.o planner.o db.o iCal.o llist.o -o debugOut
config: $(CONFIG)
db: $(DBF)
curl -L https://sqlite.org/2024/sqlite-amalgamation-3470200.zip --output src/sqlite.zip
unzip src/sqlite.zip
mv sqlite-amalgamation-3470200/* src/
rm -rf sqlite-amalgamation-3470200
gcc -c $(CFLAGS) $(DBF)
llist: $(LLST)
gcc -c $(CFLAGS) $(LLST)
test: src/test.c
@@ -27,9 +35,6 @@ ui: $(UIF)
gcc -c $(CFLAGS) $(UIF)
planner: $(PLF)
gcc -c $(CFLAGS) $(PLF)
db: $(DBF)
gcc -c $(CFLAGS) $(DBF)
edit:
nvim $(PLF) Makefile $(LLST) src/test.c