1 CXXFLAGS+=-g3 -Wall -W -Wextra -DLINUX -I../include -I../projects/stargazer -I../stglibs/conffiles.lib -I.
10 ../projects/stargazer/tariff.cpp \
11 ../stglibs/conffiles.lib/conffiles.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' < $@.$$$$ > $@; \