From e5c0b02496e5d332174a27b607079a397c6d313b Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 2 May 2004 21:22:43 +0000 Subject: parsertest --- src/tests/Makefile | 16 +++++++++++++--- 1 file 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) FONT_OBJ = ../FbTk/libFbTk.a COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS} -all: testFont testTexture +all: testFont testTexture movetest .cc.o: $(CXX) -c $(CXXFLAGS) $< @@ -24,8 +24,8 @@ testKeys: testKeys.o testResource: Resourcetest.o Resource.o ${CXX} ${LIBS} ${XLIBS} Resourcetest.o Resource.o -o testResource -testSignal: signaltest.cc - ${CXX} ${LIBS} signaltest.cc -o testSignal +signaltest: + ${COMPILE} ../FbTk/SignalHandler.o signaltest.cc -o signaltest testFont: testFont.cc ${FONT_OBJ} ${CXX} testFont.cc -o testFont ${CXXFLAGS} ${XLIBS} @@ -42,7 +42,17 @@ testScale: scaleTest.cc testTexture: texturetest.cc ${COMPILE} texturetest.cc ../FbTk/libFbTk.a -lXpm -o testTexture +Parser.o: ../Parser.hh ../Parser.cc + ${COMPILE} ${CXXFLAGS} -c ../Parser.cc +FbMenuParser.o: ../FbMenuParser.hh ../FbMenuParser.cc ../Parser.hh + ${COMPILE} ${CXXFLAGS} -c ../FbMenuParser.cc + +parsertest: parsertest.cc ../Parser.hh FbMenuParser.o Parser.o + ${COMPILE} parsertest.cc FbMenuParser.o Parser.o ../FbTk/StringUtil.o -o parsertest + +movetest: movetest.cc + ${COMPILE} movetest.cc ../FbTk/libFbTk.a -lXpm -o movetest run: testLayers testResource testKeys testStringUtil testFont ./testLayers ./testKeys -- cgit v0.11.2