summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-12-03 16:12:14 +0100
committerRoland Reichwein <mail@reichwein.it>2022-12-03 16:12:14 +0100
commit70131428edce8d7c6476a902d015b30b78e5f862 (patch)
treef522c3efc0e9901d59e91da59f36a52e927e9523 /Makefile
parentbdf314288794e5ca898db9d07b1553182ea4d7ea (diff)
Version 1.1: Added QR Codev1.1
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