diff options
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 |