3 -I ../stglibs/common.lib/include \
4 -I ../stglibs/conffiles.lib/include \
5 -I ../stglibs/logger.lib/include \
6 -I ../stglibs/scriptexecuter.lib/include \
7 -I ../stglibs/crypto.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 \
24 ../projects/stargazer/tariff_impl.cpp \
25 ../projects/stargazer/user_impl.cpp \
26 ../projects/stargazer/user_property.cpp \
27 ../stglibs/conffiles.lib/conffiles.cpp \
28 ../stglibs/common.lib/common.cpp \
29 ../stglibs/logger.lib/logger.cpp \
30 ../stglibs/scriptexecuter.lib/scriptexecuter.cpp \
31 ../stglibs/crypto.lib/bfstream.cpp \
32 ../stglibs/crypto.lib/blowfish.c
38 $(PROG): $(addsuffix .o,$(basename $(SOURCES)))
39 $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@
42 rm -f $(addsuffix .o,$(basename $(SOURCES))) $(addsuffix .d,$(SOURCES)) $(PROG)
44 ifneq ($(MAKECMDGOALS),distclean)
45 ifneq ($(MAKECMDGOALS),clean)
46 -include $(addsuffix .d,$(SOURCES))
51 @$(CXX) -MM $(CXXFLAGS) $< > $@.$$$$; \
52 sed 's,\($*\).o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
56 @$(CC) -MM $(CFLAGS) $< > $@.$$$$; \
57 sed 's,\($*\).o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \