diff options
-rw-r--r-- | src/tests/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile index f6178c8..c982a7f 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile | |||
@@ -2,12 +2,12 @@ CXX=g++ | |||
2 | CXXFLAGS= -I.. -I../FbTk -DDEBUG -DUSE_XFT -Wall -g -O2 ../FbTk/libFbTk.a | 2 | CXXFLAGS= -I.. -I../FbTk -DDEBUG -DUSE_XFT -Wall -g -O2 ../FbTk/libFbTk.a |
3 | LIBS= | 3 | LIBS= |
4 | XFLAGS= -I/usr/X11R6/include | 4 | XFLAGS= -I/usr/X11R6/include |
5 | XLIBS= -L/usr/X11R6/lib -lX11 -lXft | 5 | XLIBS= -L/usr/X11R6/lib -lX11 -lXft -lXpm -lImlib2 |
6 | COMPILEFILE=$(CXX) -c $(CXXFLAGS) | 6 | 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 movetest | 10 | all: testMenu testFont testTexture movetest |
11 | 11 | ||
12 | .cc.o: | 12 | .cc.o: |
13 | $(CXX) -c $(CXXFLAGS) $< | 13 | $(CXX) -c $(CXXFLAGS) $< |
@@ -30,6 +30,9 @@ signaltest: | |||
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} |
32 | 32 | ||
33 | testMenu: menutest.cc | ||
34 | ${CXX} menutest.cc -o testMenu ${CXXFLAGS} ${XLIBS} ../FbMenuParser.o ../FbTk/libFbTk.a -lXpm -lImlib2 ../Parser.o | ||
35 | |||
33 | testLayers: testLayers.cc | 36 | testLayers: testLayers.cc |
34 | ${CXX} ${CXXFLAGS} ${XLIBS} testLayers.cc ../FbTk/libFbTk.a -o testLayers | 37 | ${CXX} ${CXXFLAGS} ${XLIBS} testLayers.cc ../FbTk/libFbTk.a -o testLayers |
35 | 38 | ||