modified: Makefile

modified:   src/StudyPlanner.h
	modified:   src/ui.c
bugfix
master
ketrptr 2024-12-16 19:46:40 +01:00
parent c616b98589
commit bc53d5bcf3
3 changed files with 6 additions and 4 deletions

View File

@ -14,13 +14,14 @@ CONFIG=src/config.h #config file
ALLF=$(UIF) $(PLF) $(DBF) $(LLST) ALLF=$(UIF) $(PLF) $(DBF) $(LLST)
all: debug release
#targets #targets
debug: test ui planner db iCal llist debug: test ui planner db iCal llist
gcc test.o ui.o planner.o db.o iCal.o llist.o -o debugOut gcc test.o ui.o planner.o db.o iCal.o llist.o -o debugOut
release: $(ALLF) release: $(ALLF)
gcc -DRELEASE -fPIC -shared -o StudyPlanner.so $(ALLF) gcc -DRELEASE -fPIC -shared -o libStudyPlanner.so $(ALLF)
# config: $(CONFIG) # config: $(CONFIG)
@ -39,7 +40,7 @@ db: $(DBF)
edit: edit:
nvim $(PLF) Makefile $(LLST) src/test.c nvim $(PLF) Makefile $(ALLF)
clean: clean:
rm -rf *.o debugOut src/*.gch *.csv *.ics *.so rm -rf *.o debugOut src/*.gch *.csv *.ics *.so

View File

@ -1,5 +1,5 @@
#ifndef PLANNER #ifndef SPLANNER
#define PLANNER #define SPLANNER
int StudyPlanner(); int StudyPlanner();

View File

@ -6,6 +6,7 @@
*/ */
#define _GNU_SOURCE #define _GNU_SOURCE
#include "ui.h" #include "ui.h"
#include "StudyPlanner.h"
#include "db.h" #include "db.h"
#include "llist.h" #include "llist.h"
#include "planner.h" // for subject and event structs #include "planner.h" // for subject and event structs