diff options
| author | Martin Stensgård <mastensg@mastensg.net> | 2025-07-06 17:32:37 +0200 |
|---|---|---|
| committer | Martin Stensgård <mastensg@mastensg.net> | 2025-07-06 17:32:37 +0200 |
| commit | 3708b21fb020716cbe7e11e8c23a4358b89022a6 (patch) | |
| tree | f4ad3f2e640c5ec74837700f3d8b81eaaf5edc15 /Makefile | |
| parent | ffaa64a28f6bbc4d3b5dfa87dfd75e1117673e3b (diff) | |
select_booking: SELECT from event
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,7 +5,7 @@ LIBS = -lraylib -lm -lpthread -lGLESv2 -lEGL \ -lical -licalss -licalvcal \ $$([ `uname -m` = aarch64 ] && echo '-lvcos -lvchiq_arm -lgbm -ldrm') -all: check_ical import_booking opplysning +all: check_ical import_booking opplysning select_booking check: all ./check_ical < check_ical_in.ical > check_ical_out.txt @@ -29,6 +29,9 @@ import_booking: import_booking.c sqlite.o opplysning: opplysning.c $(CC) $(CFLAGS) -o $@ opplysning.c $(LIBS) +select_booking: select_booking.c sqlite.o + $(CC) $(CFLAGS) -o $@ select_booking.c sqlite.o + sqlite.o: sqlite/sqlite3.c $(CC) $(CFLAGS) -c -o $@ sqlite/sqlite3.c |
