summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a387f1c..e0507bf 100755
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ endif
LIBS=-lfcgi -lboost_filesystem
INCLUDES=-I.
-HEADERS=file.h config.h
+HEADERS=file.h config.h qrcode.h
SOURCES=$(HEADERS:.h=.cpp)
OBJECTS=$(HEADERS:.h=.o)
TARGETS=whiteboard.fcgi
@@ -59,6 +59,9 @@ LIBS+= \
-lstdc++fs
endif
+CXXFLAGS+=$(shell pkg-config --cflags qrcodegencpp Magick++ fmt)
+LIBS+=$(shell pkg-config --libs qrcodegencpp Magick++ fmt)
+
build: $(TARGETS)
all: build