Here is the whole file
RM = rm -f
CC = arm_v5t_le-gcc
DFBLIB = /usr/local/lib
DFBINC = /usr/local/include
CPPFLAGS = -g -Wall -O2 -MD -D_REENTRANT -I. -I${DFBINC}/directfb
LDFLAGS = -g -Wall -O2 -L${DFBLIB} -ldirectfb -lfusion -ldirect -lpthread
PROGRAM = test
all: $(PROGRAM)
tar: clean
( cd .. && tar cvfz $(TARGET)-`date "+%Y-%m-%d"`.tar.gz $(TARGET) ; cd - )
clean:
$(RM) *.d *.o $(TARGET)
-include $(wildcard *.d) \u2013
This makefile is for a directfb program. It only consists of a single .cpp file. I wish to modify this makefile because my program has grew to include two other classes which are in the following files: Test1.cpp, Test1.h,Test2.cpp, Test2.h.
I wish to understand the whole file so I can then modify it to include these other files.
Thanks for your help.
Harry
|