diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |