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