|
|
|
|
@ -21,10 +21,14 @@ export CFG_DIR=/usr/local/etc/
|
|
|
|
|
export DATA_DIR=/usr/local/share/dstargateway.d/
|
|
|
|
|
export LOG_DIR=/var/log/dstargateway/
|
|
|
|
|
|
|
|
|
|
ifeq ($(ENABLE_DEBUG), 1)
|
|
|
|
|
# choose this if you want debugging help
|
|
|
|
|
export CPPFLAGS=-g -ggdb -W -Wall -Werror -std=c++17
|
|
|
|
|
else
|
|
|
|
|
# or, you can choose this for a much smaller executable without debugging help
|
|
|
|
|
#CPPFLAGS=-W -Wall -Werror -std=c++17
|
|
|
|
|
CPPFLAGS=-W -O3 -Wall -Werror -std=c++17
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
export CC=g++
|
|
|
|
|
export LDFLAGS:=-lcurl -pthread
|
|
|
|
|
|
|
|
|
|
|