summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2025-07-06 17:32:37 +0200
committerMartin Stensgård <mastensg@mastensg.net>2025-07-06 17:32:37 +0200
commit3708b21fb020716cbe7e11e8c23a4358b89022a6 (patch)
treef4ad3f2e640c5ec74837700f3d8b81eaaf5edc15 /Makefile
parentffaa64a28f6bbc4d3b5dfa87dfd75e1117673e3b (diff)
select_booking: SELECT from event
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d260340..83908ff 100644
--- a/Makefile
+++ b/Makefile
@@ -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