diff options
-rw-r--r-- | src/tests/Makefile | 16 |
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) | |||
7 | FONT_OBJ = ../FbTk/libFbTk.a | 7 | FONT_OBJ = ../FbTk/libFbTk.a |
8 | COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS} | 8 | COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS} |
9 | 9 | ||
10 | all: testFont testTexture | 10 | all: 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 | |||
24 | testResource: Resourcetest.o Resource.o | 24 | testResource: 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 | ||
27 | testSignal: signaltest.cc | 27 | signaltest: |
28 | ${CXX} ${LIBS} signaltest.cc -o testSignal | 28 | ${COMPILE} ../FbTk/SignalHandler.o signaltest.cc -o signaltest |
29 | 29 | ||
30 | testFont: testFont.cc ${FONT_OBJ} | 30 | testFont: 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 | |||
42 | testTexture: texturetest.cc | 42 | testTexture: texturetest.cc |
43 | ${COMPILE} texturetest.cc ../FbTk/libFbTk.a -lXpm -o testTexture | 43 | ${COMPILE} texturetest.cc ../FbTk/libFbTk.a -lXpm -o testTexture |
44 | 44 | ||
45 | Parser.o: ../Parser.hh ../Parser.cc | ||
46 | ${COMPILE} ${CXXFLAGS} -c ../Parser.cc | ||
45 | 47 | ||
48 | FbMenuParser.o: ../FbMenuParser.hh ../FbMenuParser.cc ../Parser.hh | ||
49 | ${COMPILE} ${CXXFLAGS} -c ../FbMenuParser.cc | ||
50 | |||
51 | parsertest: parsertest.cc ../Parser.hh FbMenuParser.o Parser.o | ||
52 | ${COMPILE} parsertest.cc FbMenuParser.o Parser.o ../FbTk/StringUtil.o -o parsertest | ||
53 | |||
54 | movetest: movetest.cc | ||
55 | ${COMPILE} movetest.cc ../FbTk/libFbTk.a -lXpm -o movetest | ||
46 | run: testLayers testResource testKeys testStringUtil testFont | 56 | run: testLayers testResource testKeys testStringUtil testFont |
47 | ./testLayers | 57 | ./testLayers |
48 | ./testKeys | 58 | ./testKeys |