diff options
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r-- | src/tests/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile index 2df6ebe..90e45ce 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile | |||
@@ -4,13 +4,12 @@ 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 |
6 | COMPILEFILE=$(CXX) -c $(CXXFLAGS) | 6 | COMPILEFILE=$(CXX) -c $(CXXFLAGS) |
7 | FONT_OBJ = ../BaseDisplay.o ../FbTk/Font.o ../FbTk/XFontImp.o ../FbTk/XftFontImp.o ../FbTk/XmbFontImp.o \ | 7 | FONT_OBJ = ../FbTk/libFbTk.a |
8 | ../FbTk/Timer.o ../StringUtil.o ../i18n.o | ||
9 | 8 | ||
10 | all: testLayers testStringUtil testKeys testResource testSignal | 9 | all: testLayers testStringUtil testKeys testResource testSignal glxtest |
11 | 10 | ||
12 | .cc.o: | 11 | .cc.o: |
13 | $(CXX) -c $(CXXFLAGS) $< -o $@ | 12 | $(CXX) -c $(CXXFLAGS) $< |
14 | 13 | ||
15 | ../FbTk/XftFontImp.o: ../FbTk/XftFontImp.hh ../FbTk/XftFontImp.cc | 14 | ../FbTk/XftFontImp.o: ../FbTk/XftFontImp.hh ../FbTk/XftFontImp.cc |
16 | 15 | ||
@@ -20,8 +19,11 @@ all: testLayers testStringUtil testKeys testResource testSignal | |||
20 | 19 | ||
21 | ../FbTk/Font.o: ../FbTk/XFontImp.hh ../FbTk/XftFontImp.hh ../FbTk/XmbFontImp.hh ../FbTk/Font.hh ../FbTk/Font.cc | 20 | ../FbTk/Font.o: ../FbTk/XFontImp.hh ../FbTk/XftFontImp.hh ../FbTk/XmbFontImp.hh ../FbTk/Font.hh ../FbTk/Font.cc |
22 | 21 | ||
22 | glxtest: ../FbTk/App.hh glxtest.cc | ||
23 | ${CXX} glxtest.cc ${CXXFLAGS} ${XLIBS} -lGL -lGLU -lXpm -o glxtest | ||
24 | |||
23 | StringUtil.o: ../StringUtil.cc ../StringUtil.hh | 25 | StringUtil.o: ../StringUtil.cc ../StringUtil.hh |
24 | $(CXX) -c $(CXXFLAGS) ../StringUtil.cc -o StringUtil.o | 26 | $(CXX) -c $(CXXFLAGS) ../StringUtil.cc |
25 | 27 | ||
26 | Keys.o: ../Keys.cc ../Keys.hh | 28 | Keys.o: ../Keys.cc ../Keys.hh |
27 | $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Keys.cc -o Keys.o | 29 | $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Keys.cc -o Keys.o |
@@ -32,8 +34,8 @@ Resource.o: ../Resource.cc ../Resource.hh | |||
32 | ../FbTk/SignalHandler.o: | 34 | ../FbTk/SignalHandler.o: |
33 | ${COMPILEFILE} ../FbTk/SignalHandler.cc -o ../FbTk/SignalHandler.o | 35 | ${COMPILEFILE} ../FbTk/SignalHandler.cc -o ../FbTk/SignalHandler.o |
34 | 36 | ||
35 | testStringUtil: StringUtiltest.o StringUtil.o | 37 | testStringUtil: StringUtiltest.o ../FbTk/StringUtil.o |
36 | $(CXX) $(LIBS) StringUtiltest.o StringUtil.o -o testStringUtil | 38 | $(CXX) $(LIBS) StringUtiltest.o ../FbTk/StringUtil.o -o testStringUtil |
37 | 39 | ||
38 | testKeys: Keys.o testKeys.o StringUtil.o | 40 | testKeys: Keys.o testKeys.o StringUtil.o |
39 | $(CXX) $(LIBS) $(XLIBS) StringUtil.o Keys.o testKeys.o -o testKeys | 41 | $(CXX) $(LIBS) $(XLIBS) StringUtil.o Keys.o testKeys.o -o testKeys |