summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-12-31 22:00:11 +0100
committerRoland Reichwein <mail@reichwein.it>2022-12-31 22:00:11 +0100
commit9465fd744cc2117190bafc1a3e2da9f10ca29bf9 (patch)
tree7d94bdaaa37cabb58cede695b03082b8360167bd /Makefile
parentaf1c4ee4d74ff7afc997372802d851d11daad418 (diff)
Storage via SQLite, Added tests (WIP)
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index a35cb9d..85a5ed4 100755
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ DISTROS=base debian11 ubuntu2204
VERSION=$(shell dpkg-parsechangelog --show-field Version)
INCLUDES=-I.
-HEADERS=file.h config.h qrcode.h storage.h
+HEADERS=file.h config.h qrcode.h storage.h whiteboard.h
SOURCES=$(HEADERS:.h=.cpp)
OBJECTS=$(HEADERS:.h=.o)
TARGETS=whiteboard.fcgi
@@ -33,17 +33,9 @@ install:
mkdir -p $(DESTDIR)/etc
cp whiteboard.conf $(DESTDIR)/etc
-
- mkdir -p $(DESTDIR)/usr/bin
- cp whiteboard-cleanup $(DESTDIR)/usr/bin/
-
- mkdir -p $(DESTDIR)/etc/cron.d
- cp whiteboard.cron $(DESTDIR)/etc/cron.d/whiteboard
-
-whiteboard.fcgi: $(OBJECTS)
# link
-%.fcgi: %.o
+whiteboard.fcgi: $(OBJECTS) main.o
$(CXX) $(LDFLAGS) $^ $(LDLIBS) $(LIBS) -o $@
# .cpp -> .o