aboutsummaryrefslogtreecommitdiff
path: root/src/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r--src/tests/Makefile16
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=
4XFLAGS= -I/usr/X11R6/include 4XFLAGS= -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 = ../BaseDisplay.o ../FbTk/Font.o ../FbTk/XFontImp.o ../FbTk/XftFontImp.o ../FbTk/XmbFontImp.o \ 7FONT_OBJ = ../FbTk/libFbTk.a
8 ../FbTk/Timer.o ../StringUtil.o ../i18n.o
9 8
10all: testLayers testStringUtil testKeys testResource testSignal 9all: 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
22glxtest: ../FbTk/App.hh glxtest.cc
23 ${CXX} glxtest.cc ${CXXFLAGS} ${XLIBS} -lGL -lGLU -lXpm -o glxtest
24
23StringUtil.o: ../StringUtil.cc ../StringUtil.hh 25StringUtil.o: ../StringUtil.cc ../StringUtil.hh
24 $(CXX) -c $(CXXFLAGS) ../StringUtil.cc -o StringUtil.o 26 $(CXX) -c $(CXXFLAGS) ../StringUtil.cc
25 27
26Keys.o: ../Keys.cc ../Keys.hh 28Keys.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
35testStringUtil: StringUtiltest.o StringUtil.o 37testStringUtil: 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
38testKeys: Keys.o testKeys.o StringUtil.o 40testKeys: 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