]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/Makefile
Fixed installation on BSD-systems.
[stg.git] / projects / sgauthstress / Makefile
index f88e59c614427db99bf529f9e2725ef5d5d56c88..3cc73a97a2e0c59d4f0fd4394a327c17eb567b61 100644 (file)
@@ -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