summaryrefslogtreecommitdiff
path: root/src/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r--src/tests/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile
index 3b4b7e7..3c6c634 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -5,8 +5,9 @@ XFLAGS= -I/usr/X11R6/include
5XLIBS= -L/usr/X11R6/lib -lX11 -lXft 5XLIBS= -L/usr/X11R6/lib -lX11 -lXft
6COMPILEFILE=$(CXX) -c $(CXXFLAGS) 6COMPILEFILE=$(CXX) -c $(CXXFLAGS)
7FONT_OBJ = ../FbTk/libFbTk.a 7FONT_OBJ = ../FbTk/libFbTk.a
8COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS}
8 9
9all: testStringUtil testFont 10all: testFont testTexture
10 11
11.cc.o: 12.cc.o:
12 $(CXX) -c $(CXXFLAGS) $< 13 $(CXX) -c $(CXXFLAGS) $<
@@ -15,7 +16,7 @@ glxtest: ../FbTk/App.hh glxtest.cc
15 ${CXX} glxtest.cc ${CXXFLAGS} ${XLIBS} -lGL -lGLU -lXpm -o glxtest 16 ${CXX} glxtest.cc ${CXXFLAGS} ${XLIBS} -lGL -lGLU -lXpm -o glxtest
16 17
17testStringUtil: StringUtiltest.o 18testStringUtil: StringUtiltest.o
18 $(CXX) $(LIBS) StringUtiltest.o -o testStringUtil 19 $(CXX) $(LIBS) StringUtiltest.o ../FbTk/libFbTk.a -o testStringUtil
19 20
20testKeys: testKeys.o 21testKeys: testKeys.o
21 $(CXX) $(LIBS) $(XLIBS) testKeys.o -o testKeys 22 $(CXX) $(LIBS) $(XLIBS) testKeys.o -o testKeys
@@ -38,6 +39,10 @@ testTransp: transpTest.cc
38testScale: scaleTest.cc 39testScale: scaleTest.cc
39 ${CXX} ${CXXFLAGS} ${XLIBS} scaleTest.cc ../FbTk/libFbTk.a -lXpm -o testScale 40 ${CXX} ${CXXFLAGS} ${XLIBS} scaleTest.cc ../FbTk/libFbTk.a -lXpm -o testScale
40 41
42testTexture: texturetest.cc
43 ${COMPILE} texturetest.cc ../FbTk/libFbTk.a -lXpm -o testTexture
44
45
41run: testLayers testResource testKeys testStringUtil testFont 46run: testLayers testResource testKeys testStringUtil testFont
42 ./testLayers 47 ./testLayers
43 ./testKeys 48 ./testKeys