15 lines
283 B
Makefile
15 lines
283 B
Makefile
|
CFLAGS=-Wall -Wetra -g
|
||
|
UIF=src/ui.c src/ui.h #UI files
|
||
|
PLF=src/planner.c src/planner.h #planner files
|
||
|
DBF=src/db.c src/db.h #db files
|
||
|
CONFIG=src/config.h #config file
|
||
|
ui: $(UIF)
|
||
|
gcc -c $(CFLAGS) $(UIF)
|
||
|
planner: $(PLF)
|
||
|
gcc -c $(CFLAGS) $(PLF)
|
||
|
db: $(DBF)
|
||
|
gcc -c $(CFLAGS) $(DBF)
|
||
|
|
||
|
|
||
|
|