1 CXXFLAGS+=-g3 -Wall -W -Wextra -DLINUX -I../include -I../projects/stargazer -I../stglibs/stgconffiles.lib -I. -DUSE_ABSTRACT_SETTINGS
10 test_fee_charge_rules.cpp \
11 test_reconnect_on_tariff_change.cpp \
12 ../projects/stargazer/tariff_impl.cpp \
13 ../projects/stargazer/user_impl.cpp \
14 ../projects/stargazer/user_property.cpp \
15 ../stglibs/conffiles.lib/conffiles.cpp \
16 ../stglibs/common.lib/common.cpp \
17 ../stglibs/logger.lib/logger.cpp \
18 ../stglibs/scriptexecuter.lib/scriptexecuter.cpp
20 .PHONY: all includes clean
25 make -C ../stglibs includes
27 $(PROG): $(subst .cpp,.o,$(SOURCES))
28 $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@
33 ifneq ($(MAKECMDGOALS),distclean)
34 ifneq ($(MAKECMDGOALS),clean)
35 -include $(subst .cpp,.d,$(SOURCES))
40 @$(CC) -MM $(CXXFLAGS) $< > $@.$$$$; \
41 sed 's,\($*\).o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \