parent
c616b98589
commit
bc53d5bcf3
5
Makefile
5
Makefile
|
@ -14,13 +14,14 @@ CONFIG=src/config.h #config file
|
|||
|
||||
ALLF=$(UIF) $(PLF) $(DBF) $(LLST)
|
||||
|
||||
all: debug release
|
||||
#targets
|
||||
debug: test ui planner db iCal llist
|
||||
gcc test.o ui.o planner.o db.o iCal.o llist.o -o debugOut
|
||||
|
||||
|
||||
release: $(ALLF)
|
||||
gcc -DRELEASE -fPIC -shared -o StudyPlanner.so $(ALLF)
|
||||
gcc -DRELEASE -fPIC -shared -o libStudyPlanner.so $(ALLF)
|
||||
|
||||
|
||||
# config: $(CONFIG)
|
||||
|
@ -39,7 +40,7 @@ db: $(DBF)
|
|||
|
||||
|
||||
edit:
|
||||
nvim $(PLF) Makefile $(LLST) src/test.c
|
||||
nvim $(PLF) Makefile $(ALLF)
|
||||
|
||||
clean:
|
||||
rm -rf *.o debugOut src/*.gch *.csv *.ics *.so
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef PLANNER
|
||||
#define PLANNER
|
||||
#ifndef SPLANNER
|
||||
#define SPLANNER
|
||||
|
||||
int StudyPlanner();
|
||||
|
||||
|
|
Loading…
Reference in New Issue