font settings
[lbook_fbreader.git] / makefiles / gtksubdir.mk
blob1f69c373a3b22635abe587b38240736c9593d195
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))
9 .SUFFIXES: .cpp .o .h
11 .cpp.o:
12 @echo -n "Compiling $@ ..."
13 @$(CC) -MMD -c $(CFLAGS) $(INCLUDE) $<
14 @echo " OK"
16 all: $(OBJECTS)
18 clean:
19 @$(RM) *.o *.d
21 -include *.d