new file: src/iCal.c

new file:   src/iCal.h
sql
ketrptr 2024-12-09 21:04:33 +01:00
parent bdabc372b7
commit 7b266086fd
4 changed files with 21 additions and 5 deletions

View File

@ -1,14 +1,30 @@
#compiler flags
CFLAGS=-Wall -Wetra -g CFLAGS=-Wall -Wetra -g
#files
UIF=src/ui.c src/ui.h #UI files UIF=src/ui.c src/ui.h #UI files
PLF=src/planner.c src/planner.h #planner files PLF=src/planner.c src/planner.h #planner files
DBF=src/db.c src/db.h #db files DBF=src/db.c src/db.h #db files
CALF=src/iCal.c src/iCal.h
CONFIG=src/config.h #config file CONFIG=src/config.h #config file
ui: $(UIF)
#targets
debug: ui planner db iCal
gcc ui.o planner.o db.o iCal.o -o debugOut
iCal: $(CALF)
gcc -c $(CFLAGS) $(CALF)
ui: $(UIF) $(CONFIG)
gcc -c $(CFLAGS) $(UIF) gcc -c $(CFLAGS) $(UIF)
planner: $(PLF) planner: $(PLF) $(CONFIG)
gcc -c $(CFLAGS) $(PLF) gcc -c $(CFLAGS) $(PLF)
db: $(DBF) db: $(DBF) $(CONFIG)
gcc -c $(CFLAGS) $(DBF) gcc -c $(CFLAGS) $(DBF)
clean:
rm -rf *.o debugOut

View File

@ -22,6 +22,6 @@ Time management optimisation tool.
## Processing ## Processing
- Use cake cutting algorithm to calculate timetable based on subject priorites and available time. - Use cake cutting algorithm to calculate timetable based on subject priorities and available time.
- output in ical format - output in iCal format

0
src/iCal.c Normal file
View File

0
src/iCal.h Normal file
View File