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)
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

View File

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

View File

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