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