blob: 06904356dfe9a908530be8f63b5c0f7247f3ae97 [file] [log] [blame]
scroggob7e9aee2011-03-15 15:15:15 +00001# Build the unix test app
2
3C_INCLUDES := -I../include/core \
4 -I../include/config \
5 -I../include/effects \
6 -I../include/images \
7 -I../include/utils \
8 -I../include/views \
9 -I../include/xml \
10 -I../include/gpu \
11 -I../gpu/include \
12 -I../include/utils/unix \
13 -I../samplecode
14
15VPATH = libs:../src/ports:../samplecode:../src/core:../out:../src/utils/unix
16
17#generate debugging info
18CFLAGS = -g
19
20SRC_LIST := main.cpp SkOSWindow_Unix.cpp SkXMLParser_empty.cpp SkDebug.cpp keysym2ucs.c
21
22#views files
23include ../src/views/views_files.mk
24SRC_LIST += $(addprefix ../src/views/, $(SOURCE))
25
26#xml
27include ../src/xml/xml_files.mk
28SRC_LIST += $(addprefix ../src/xml/, $(SOURCE))
29
30#include the samples
31include ../samplecode/samplecode_files.mk
32SRC_LIST += $(addprefix ../samplecode/, $(SOURCE))
33
34output: $(SRC_LIST) -lX11 -lskia -lpthread -lz -lfreetype -lGL -lpng
35 g++ $(C_INCLUDES) $(CFLAGS) $^ -o $@
36