From: Maxim Mamontov Date: Wed, 31 Aug 2011 10:15:30 +0000 (+0300) Subject: Add -DLINUX for scriptexecuter X-Git-Tag: 2.408-alpha~12 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6fe1c267d914edfb7b0d677324a3b1883df1ed9f Add -DLINUX for scriptexecuter --- diff --git a/tests/Makefile b/tests/Makefile index ac6e4e10..6c52d9ea 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,21 +1,22 @@ -CXXFLAGS+=-g3 -Wall -W -Wextra -DLINUX -I../include -I../projects/stargazer -I../stglibs/stgconffiles.lib -I. -DUSE_ABSTRACT_SETTINGS -LIBS=-lpthread -PROG=tests - -SOURCES=main.cpp \ - test_raw_ip.cpp \ - test_admin_conf.cpp \ - test_tariff.cpp \ - test_conffiles.cpp \ - test_fee_charge_rules.cpp \ - test_reconnect_on_tariff_change.cpp \ - ../projects/stargazer/tariff_impl.cpp \ - ../projects/stargazer/user_impl.cpp \ - ../projects/stargazer/user_property.cpp \ - ../stglibs/conffiles.lib/conffiles.cpp \ - ../stglibs/common.lib/common.cpp \ - ../stglibs/logger.lib/logger.cpp \ - ../stglibs/scriptexecuter.lib/scriptexecuter.cpp +CFLAGS += -g3 -Wall -W -Wextra -DLINUX -I../include -I../projects/stargazer -I../stglibs/stgconffiles.lib -I. -DUSE_ABSTRACT_SETTINGS -DLINUX +CXXFLAGS = ${CFLAGS} +LIBS = -lpthread +PROG = tests + +SOURCES = main.cpp \ + test_raw_ip.cpp \ + test_admin_conf.cpp \ + test_tariff.cpp \ + test_conffiles.cpp \ + test_fee_charge_rules.cpp \ + test_reconnect_on_tariff_change.cpp \ + ../projects/stargazer/tariff_impl.cpp \ + ../projects/stargazer/user_impl.cpp \ + ../projects/stargazer/user_property.cpp \ + ../stglibs/conffiles.lib/conffiles.cpp \ + ../stglibs/common.lib/common.cpp \ + ../stglibs/logger.lib/logger.cpp \ + ../stglibs/scriptexecuter.lib/scriptexecuter.cpp .PHONY: all includes clean