modified: Makefile
modified: src/planner.c modified: src/test.c
This commit is contained in:
1 parent
ba1322ac0d
commit
b2aca861b7
3 files changed
+44
-14
No files matched your search
@@ -5,6 +5,7 @@ CFLAGS=-Wall -Wextra -g
|
||||
|
||||
#files
|
||||
UIF=src/ui.c src/ui.h #UI files
|
||||
UISF=src/uis.c src/uis.h #UI files
|
||||
PLF=src/planner.c src/planner.h #planner files
|
||||
DBF=src/db.c src/db.h #db files
|
||||
CALF=src/iCal.c src/iCal.h
|
||||
@@ -13,8 +14,8 @@ CONFIG=src/config.h #config file
|
||||
|
||||
|
||||
#targets
|
||||
debug: test ui planner db iCal config llist
|
||||
gcc test.o ui.o planner.o db.o iCal.o llist.o -o debugOut
|
||||
debug: test planner db iCal config llist uis
|
||||
gcc test.o planner.o db.o iCal.o llist.o uis.o -o debugOut
|
||||
|
||||
config: $(CONFIG)
|
||||
llist: $(LLST)
|
||||
@@ -24,6 +25,8 @@ test: src/test.c
|
||||
iCal: $(CALF)
|
||||
gcc -c $(CFLAGS) $(CALF)
|
||||
ui: $(UIF)
|
||||
uis: $(UISF)
|
||||
gcc -c $(CFLAGS) $(UISF)
|
||||
gcc -c $(CFLAGS) $(UIF)
|
||||
planner: $(PLF)
|
||||
gcc -c $(CFLAGS) $(PLF)
|
||||
@@ -32,10 +35,10 @@ db: $(DBF)
|
||||
|
||||
|
||||
edit:
|
||||
nvim $(PLF) Makefile $(LLST) src/test.c
|
||||
nvim $(PLF) Makefile $(LLST) src/test.c src/uis.c
|
||||
|
||||
clean:
|
||||
rm -rf *.o debugOut src/*.gch
|
||||
rm -rf *.o debugOut src/*.gch *.ics *.csv
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user