summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 95ca7e1..d260340 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 opplysning
+all: check_ical import_booking opplysning
check: all
./check_ical < check_ical_in.ical > check_ical_out.txt
@@ -13,6 +13,7 @@ check: all
clean:
rm -f check_ical check_ical_out.txt
+ rm -f import_booking
rm -f opplysning
rm -f sqlite.o
rm -f sqlite3
@@ -22,6 +23,9 @@ clean:
check_ical: check_ical.c
$(CC) $(CFLAGS) -o $@ check_ical.c $(LIBS)
+import_booking: import_booking.c sqlite.o
+ $(CC) $(CFLAGS) -o $@ import_booking.c sqlite.o -lical -licalss -licalvcal
+
opplysning: opplysning.c
$(CC) $(CFLAGS) -o $@ opplysning.c $(LIBS)