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 ../projects/stargazer/tariff_impl.cpp \
12 ../projects/stargazer/user_impl.cpp \
13 ../projects/stargazer/user_property.cpp \
14 ../stglibs/conffiles.lib/conffiles.cpp \
15 ../stglibs/common.lib/common.cpp \
16 ../stglibs/logger.lib/logger.cpp \
17 ../stglibs/scriptexecuter.lib/scriptexecuter.cpp
19 .PHONY: all includes clean
24 make -C ../stglibs includes
26 $(PROG): $(subst .cpp,.o,$(SOURCES))
27 $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@
32 ifneq ($(MAKECMDGOALS),distclean)
33 ifneq ($(MAKECMDGOALS),clean)
34 -include $(subst .cpp,.d,$(SOURCES))
39 @$(CC) -MM $(CXXFLAGS) $< > $@.$$$$; \
40 sed 's,\($*\).o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \