3 -I ../stglibs/common.lib/include \
4 -I ../stglibs/conffiles.lib/include \
5 -I ../stglibs/logger.lib/include \
6 -I ../stglibs/locker.lib/include \
7 -I ../stglibs/scriptexecuter.lib/include \
8 -I ../projects/stargazer
10 -DUSE_ABSTRACT_SETTINGS
11 CFLAGS += -g3 -Wall -W -Wextra $(INCS) $(DEFS)
21 test_fee_charge_rules.cpp \
22 test_reconnect_on_tariff_change.cpp \
23 ../projects/stargazer/tariff_impl.cpp \
24 ../projects/stargazer/user_impl.cpp \
25 ../projects/stargazer/user_property.cpp \
26 ../stglibs/conffiles.lib/conffiles.cpp \
27 ../stglibs/common.lib/common.cpp \
28 ../stglibs/logger.lib/logger.cpp \
29 ../stglibs/scriptexecuter.lib/scriptexecuter.cpp
35 $(PROG): $(addsuffix .o,$(basename $(SOURCES)))
36 $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@
39 rm -f $(addsuffix .o,$(basename $(SOURCES))) $(addsuffix .d,$(SOURCES)) $(PROG)
41 ifneq ($(MAKECMDGOALS),distclean)
42 ifneq ($(MAKECMDGOALS),clean)
43 -include $(addsuffix .d,$(SOURCES))
48 @$(CXX) -MM $(CXXFLAGS) $< > $@.$$$$; \
49 sed 's,\($*\).o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
53 @$(CC) -MM $(CFLAGS) $< > $@.$$$$; \
54 sed 's,\($*\).o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \