Add STATIC_UTILS option to Makefile

This commit is contained in:
2021-07-05 20:23:25 +02:00
parent 46a31b3fd9
commit e4a7874cfb
3 changed files with 8 additions and 2 deletions

View File

@@ -2,7 +2,11 @@
TARGETS=acsmdownloader activate
CXXFLAGS=-Wall `pkg-config --cflags Qt5Core Qt5Network` -fPIC -I$(ROOT)/include -I$(ROOT)/lib/pugixml/src/
ifneq ($(STATIC_UTILS),)
LDFLAGS=`pkg-config --libs Qt5Core Qt5Network` -L$(ROOT) $(ROOT)/libgourou.a -lcrypto -lzip
else
LDFLAGS=`pkg-config --libs Qt5Core Qt5Network` -L$(ROOT) -lgourou -lcrypto -lzip
endif
ifneq ($(DEBUG),)
CXXFLAGS += -ggdb -O0