diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/Makefile | 10 |
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 @@ | |||
1 | OBJ=StringUtiltest.o ../StringUtil.o | ||
2 | CXX=g++ | 1 | CXX=g++ |
3 | CXXFLAGS= -I.. -DDEBUG -Wall -g -O2 | 2 | CXXFLAGS= -I.. -DDEBUG -Wall -g -O2 |
4 | LIBS= | 3 | LIBS= |
5 | XFLAGS= -I/usr/X11R6/include | 4 | XFLAGS= -I/usr/X11R6/include |
6 | XLIBS= -L/usr/X11R6/lib -lX11 | 5 | XLIBS= -L/usr/X11R6/lib -lX11 -lXft |
7 | COMPILEFILE=$(CXX) -c $(CXXFLAGS) | 6 | COMPILEFILE=$(CXX) -c $(CXXFLAGS) |
7 | FONT_OBJ = ../BaseDisplay.o ../Font.o ../XFontImp.o ../XftFontImp.o ../XmbFontImp.o \ | ||
8 | ../Timer.o ../StringUtil.o ../i18n.o | ||
8 | 9 | ||
9 | all: testStringUtil testKeys testResource testSignal | 10 | all: testStringUtil testKeys testResource testSignal |
10 | 11 | ||
@@ -35,11 +36,14 @@ testResource: Resourcetest.o Resource.o | |||
35 | testSignal: signaltest.cc ../SignalHandler.o | 36 | testSignal: signaltest.cc ../SignalHandler.o |
36 | ${CXX} ${LIBS} signaltest.cc ../SignalHandler.o -o testSignal | 37 | ${CXX} ${LIBS} signaltest.cc ../SignalHandler.o -o testSignal |
37 | 38 | ||
39 | testFont: testFont.cc ${FONT_OBJ} | ||
40 | ${CXX} ${CXXFLAGS} ${XLIBS} testFont.cc ${FONT_OBJ} -o testFont | ||
38 | 41 | ||
39 | run: testResource testKeys testStringUtil | 42 | run: testResource testKeys testStringUtil testFont |
40 | ./testKeys | 43 | ./testKeys |
41 | ./testStringUtil | 44 | ./testStringUtil |
42 | ./testResource | 45 | ./testResource |
43 | ./testSignal | 46 | ./testSignal |
47 | ./testFont | ||
44 | clean: | 48 | clean: |
45 | rm -f *.o | 49 | rm -f *.o |