1 include $(ROOTDIR
)/makefiles
/config.mk
3 INCLUDE
= $(ZINCLUDE
) $(EXTERNALINCLUDE
) $(GTKINCLUDE
)
5 HEADERS
= $(wildcard *.h
)
6 SOURCES
= $(wildcard *.
cpp)
7 OBJECTS
= $(patsubst %.
cpp, %.o
, $(SOURCES
))
12 @echo
-n
"Compiling $@ ..."
13 @
$(CC
) -MMD
-c
$(CFLAGS
) $(INCLUDE
) $<