From 70131428edce8d7c6476a902d015b30b78e5f862 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 3 Dec 2022 16:12:14 +0100 Subject: Version 1.1: Added QR Code --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3