summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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