aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-08-14 00:02:17 (GMT)
committerfluxgen <fluxgen>2002-08-14 00:02:17 (GMT)
commit6d6d13f8ce65c23996748efcd0983ad5a656aa96 (patch)
tree229808b560313ca415094d121ef819287943d479 /src/tests
parentc87d64e19a6d061b03bb6722595571e6c068a333 (diff)
downloadfluxbox-6d6d13f8ce65c23996748efcd0983ad5a656aa96.zip
fluxbox-6d6d13f8ce65c23996748efcd0983ad5a656aa96.tar.bz2
signaltest target
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile
index ac8fdb0..978167f 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -4,7 +4,9 @@ CXXFLAGS= -I.. -DDEBUG -Wall -g -O2
4LIBS= 4LIBS=
5XFLAGS= -I/usr/X11R6/include 5XFLAGS= -I/usr/X11R6/include
6XLIBS= -L/usr/X11R6/lib -lX11 6XLIBS= -L/usr/X11R6/lib -lX11
7all: testStringUtil testKeys testResource 7COMPILEFILE=$(CXX) -c $(CXXFLAGS)
8
9all: testStringUtil testKeys testResource testSignal
8 10
9.cc.o: 11.cc.o:
10 $(CXX) -c $(CXXFLAGS) $< 12 $(CXX) -c $(CXXFLAGS) $<
@@ -18,16 +20,26 @@ Keys.o: ../Keys.cc ../Keys.hh
18Resource.o: ../Resource.cc ../Resource.hh 20Resource.o: ../Resource.cc ../Resource.hh
19 $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Resource.cc -o Resource.o 21 $(CXX) -c $(CXXFLAGS) $(XFLAGS) ../Resource.cc -o Resource.o
20 22
23../SignalHandler.o:
24 ${COMPILEFILE} ../SignalHandler.cc -o ../SignalHandler.o
25
21testStringUtil: StringUtiltest.o StringUtil.o 26testStringUtil: StringUtiltest.o StringUtil.o
22 $(CXX) $(LIBS) StringUtiltest.o StringUtil.o -o testStringUtil 27 $(CXX) $(LIBS) StringUtiltest.o StringUtil.o -o testStringUtil
28
23testKeys: Keys.o testKeys.o StringUtil.o 29testKeys: Keys.o testKeys.o StringUtil.o
24 $(CXX) $(LIBS) $(XLIBS) StringUtil.o Keys.o testKeys.o -o testKeys 30 $(CXX) $(LIBS) $(XLIBS) StringUtil.o Keys.o testKeys.o -o testKeys
31
25testResource: Resourcetest.o Resource.o 32testResource: Resourcetest.o Resource.o
26 ${CXX} ${LIBS} ${XLIBS} Resourcetest.o Resource.o -o testResource 33 ${CXX} ${LIBS} ${XLIBS} Resourcetest.o Resource.o -o testResource
27 34
35testSignal: signaltest.cc ../SignalHandler.o
36 ${CXX} ${LIBS} signaltest.cc ../SignalHandler.o -o testSignal
37
38
28run: testResource testKeys testStringUtil 39run: testResource testKeys testStringUtil
29 ./testKeys 40 ./testKeys
30 ./testStringUtil 41 ./testStringUtil
31 ./testResource 42 ./testResource
43 ./testSignal
32clean: 44clean:
33 rm -f *.o 45 rm -f *.o