X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/37aa013f3c1aabe48c6b01fe82f0d62d69f663af..7e0f07b593a81c4f1bf0101cdc66968ae40462fb:/projects/sgauthstress/Makefile diff --git a/projects/sgauthstress/Makefile b/projects/sgauthstress/Makefile index f88e59c6..3cc73a97 100644 --- a/projects/sgauthstress/Makefile +++ b/projects/sgauthstress/Makefile @@ -9,8 +9,8 @@ SRCS = main.cpp \ proto.cpp STGLIBS = dotconfpp \ - crypto \ - common + crypto \ + common STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS))) STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS))) @@ -19,10 +19,12 @@ LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) ifeq ($(OS),linux) LIBS += -ldl +D_FLAG = -D else LIBS += -lintl \ -lc \ - -liconv + -liconv +D_FLAG = -d endif SEARCH_DIRS = -I ../../include