aboutsummaryrefslogtreecommitdiff
path: root/src/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r--src/tests/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile
index 3c6c634..f6178c8 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -7,7 +7,7 @@ COMPILEFILE=$(CXX) -c $(CXXFLAGS)
7FONT_OBJ = ../FbTk/libFbTk.a 7FONT_OBJ = ../FbTk/libFbTk.a
8COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS} 8COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS}
9 9
10all: testFont testTexture 10all: testFont testTexture movetest
11 11
12.cc.o: 12.cc.o:
13 $(CXX) -c $(CXXFLAGS) $< 13 $(CXX) -c $(CXXFLAGS) $<
@@ -24,8 +24,8 @@ testKeys: testKeys.o
24testResource: Resourcetest.o Resource.o 24testResource: Resourcetest.o Resource.o
25 ${CXX} ${LIBS} ${XLIBS} Resourcetest.o Resource.o -o testResource 25 ${CXX} ${LIBS} ${XLIBS} Resourcetest.o Resource.o -o testResource
26 26
27testSignal: signaltest.cc 27signaltest:
28 ${CXX} ${LIBS} signaltest.cc -o testSignal 28 ${COMPILE} ../FbTk/SignalHandler.o signaltest.cc -o signaltest
29 29
30testFont: testFont.cc ${FONT_OBJ} 30testFont: testFont.cc ${FONT_OBJ}
31 ${CXX} testFont.cc -o testFont ${CXXFLAGS} ${XLIBS} 31 ${CXX} testFont.cc -o testFont ${CXXFLAGS} ${XLIBS}
@@ -42,7 +42,17 @@ testScale: scaleTest.cc
42testTexture: texturetest.cc 42testTexture: texturetest.cc
43 ${COMPILE} texturetest.cc ../FbTk/libFbTk.a -lXpm -o testTexture 43 ${COMPILE} texturetest.cc ../FbTk/libFbTk.a -lXpm -o testTexture
44 44
45Parser.o: ../Parser.hh ../Parser.cc
46 ${COMPILE} ${CXXFLAGS} -c ../Parser.cc
45 47
48FbMenuParser.o: ../FbMenuParser.hh ../FbMenuParser.cc ../Parser.hh
49 ${COMPILE} ${CXXFLAGS} -c ../FbMenuParser.cc
50
51parsertest: parsertest.cc ../Parser.hh FbMenuParser.o Parser.o
52 ${COMPILE} parsertest.cc FbMenuParser.o Parser.o ../FbTk/StringUtil.o -o parsertest
53
54movetest: movetest.cc
55 ${COMPILE} movetest.cc ../FbTk/libFbTk.a -lXpm -o movetest
46run: testLayers testResource testKeys testStringUtil testFont 56run: testLayers testResource testKeys testStringUtil testFont
47 ./testLayers 57 ./testLayers
48 ./testKeys 58 ./testKeys