diff options
author | Roland Reichwein <mail@reichwein.it> | 2022-12-31 22:00:11 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2022-12-31 22:00:11 +0100 |
commit | 9465fd744cc2117190bafc1a3e2da9f10ca29bf9 (patch) | |
tree | 7d94bdaaa37cabb58cede695b03082b8360167bd /Makefile | |
parent | af1c4ee4d74ff7afc997372802d851d11daad418 (diff) |
Storage via SQLite, Added tests (WIP)
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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 |