aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile
index 978167f..90776ad 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -1,10 +1,11 @@
1OBJ=StringUtiltest.o ../StringUtil.o
2CXX=g++ 1CXX=g++
3CXXFLAGS= -I.. -DDEBUG -Wall -g -O2 2CXXFLAGS= -I.. -DDEBUG -Wall -g -O2
4LIBS= 3LIBS=
5XFLAGS= -I/usr/X11R6/include 4XFLAGS= -I/usr/X11R6/include
6XLIBS= -L/usr/X11R6/lib -lX11 5XLIBS= -L/usr/X11R6/lib -lX11 -lXft
7COMPILEFILE=$(CXX) -c $(CXXFLAGS) 6COMPILEFILE=$(CXX) -c $(CXXFLAGS)
7FONT_OBJ = ../BaseDisplay.o ../Font.o ../XFontImp.o ../XftFontImp.o ../XmbFontImp.o \
8 ../Timer.o ../StringUtil.o ../i18n.o
8 9
9all: testStringUtil testKeys testResource testSignal 10all: testStringUtil testKeys testResource testSignal
10 11
@@ -35,11 +36,14 @@ testResource: Resourcetest.o Resource.o
35testSignal: signaltest.cc ../SignalHandler.o 36testSignal: signaltest.cc ../SignalHandler.o
36 ${CXX} ${LIBS} signaltest.cc ../SignalHandler.o -o testSignal 37 ${CXX} ${LIBS} signaltest.cc ../SignalHandler.o -o testSignal
37 38
39testFont: testFont.cc ${FONT_OBJ}
40 ${CXX} ${CXXFLAGS} ${XLIBS} testFont.cc ${FONT_OBJ} -o testFont
38 41
39run: testResource testKeys testStringUtil 42run: testResource testKeys testStringUtil testFont
40 ./testKeys 43 ./testKeys
41 ./testStringUtil 44 ./testStringUtil
42 ./testResource 45 ./testResource
43 ./testSignal 46 ./testSignal
47 ./testFont
44clean: 48clean:
45 rm -f *.o 49 rm -f *.o