diff options
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r-- | src/tests/Makefile | 9 |
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 | |||
5 | XLIBS= -L/usr/X11R6/lib -lX11 -lXft | 5 | XLIBS= -L/usr/X11R6/lib -lX11 -lXft |
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 | 9 | ||
9 | all: testStringUtil testFont | 10 | all: 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 | ||
17 | testStringUtil: StringUtiltest.o | 18 | testStringUtil: StringUtiltest.o |
18 | $(CXX) $(LIBS) StringUtiltest.o -o testStringUtil | 19 | $(CXX) $(LIBS) StringUtiltest.o ../FbTk/libFbTk.a -o testStringUtil |
19 | 20 | ||
20 | testKeys: testKeys.o | 21 | testKeys: 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 | |||
38 | testScale: scaleTest.cc | 39 | testScale: 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 | ||
42 | testTexture: texturetest.cc | ||
43 | ${COMPILE} texturetest.cc ../FbTk/libFbTk.a -lXpm -o testTexture | ||
44 | |||
45 | |||
41 | run: testLayers testResource testKeys testStringUtil testFont | 46 | run: testLayers testResource testKeys testStringUtil testFont |
42 | ./testLayers | 47 | ./testLayers |
43 | ./testKeys | 48 | ./testKeys |