1 CXXFLAGS+=-g3 -Wall -W -Wextra -DLINUX -I../include -I../projects/stargazer -I../stglibs/stgconffiles.lib -I.
9 test_stgconffiles.cpp \
10 ../projects/stargazer/tariff.cpp \
11 ../stglibs/stgconffiles.lib/stgconffiles.cpp
15 $(PROG): $(subst .cpp,.o,$(SOURCES))
16 $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@
21 ifneq ($(MAKECMDGOALS),distclean)
22 ifneq ($(MAKECMDGOALS),clean)
23 -include $(subst .cpp,.d,$(SOURCES))
28 @$(CC) -MM $(CXXFLAGS) $< > $@.$$$$; \
29 sed 's,\($*\).o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \