diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-18 20:24:35 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-18 20:24:35 (GMT) |
commit | e4d4717703b365bc14f189bf36b3edb1e4430b90 (patch) | |
tree | 1e678e6d0569714ab8c78fa0900c18ee1bb0f10a /src/tests/Makefile | |
parent | 8e97963e4211963f960c52c8a8f4bf5cd135ad2f (diff) | |
download | fluxbox-e4d4717703b365bc14f189bf36b3edb1e4430b90.zip fluxbox-e4d4717703b365bc14f189bf36b3edb1e4430b90.tar.bz2 |
Added new Signal/Slot system in FbTk
This is suppose to replace the obsolete Subject/Observer classes.
See the src/tests/testSignals.cc for basic usage.
Diffstat (limited to 'src/tests/Makefile')
-rw-r--r-- | src/tests/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/Makefile b/src/tests/Makefile index 8d1c482..668126e 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile | |||
@@ -7,7 +7,8 @@ COMPILEFILE=$(CXX) -c $(CXXFLAGS) | |||
7 | FONT_OBJ = ../FbTk/libFbTk.a | 7 | FONT_OBJ = ../FbTk/libFbTk.a |
8 | COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS} | 8 | COMPILE = ${CXX} ${CXXFLAGS} ${XLIBS} |
9 | 9 | ||
10 | all: testMenu testFont testTexture movetest | 10 | all: testMenu testFont testTexture movetest testSignals |
11 | |||
11 | 12 | ||
12 | .cc.o: | 13 | .cc.o: |
13 | $(CXX) -c $(CXXFLAGS) $< | 14 | $(CXX) -c $(CXXFLAGS) $< |
@@ -15,6 +16,9 @@ all: testMenu testFont testTexture movetest | |||
15 | glxtest: ../FbTk/App.hh glxtest.cc | 16 | glxtest: ../FbTk/App.hh glxtest.cc |
16 | ${CXX} glxtest.cc ${CXXFLAGS} ${XLIBS} -lGL -lGLU -lXpm -o glxtest | 17 | ${CXX} glxtest.cc ${CXXFLAGS} ${XLIBS} -lGL -lGLU -lXpm -o glxtest |
17 | 18 | ||
19 | testSignals: testSignals.o ../FbTk/Signal.hh ../FbTk/MemFun.hh | ||
20 | $(CXX) $(LIBS) testSignals.o -o testSignals | ||
21 | |||
18 | testStringUtil: StringUtiltest.o | 22 | testStringUtil: StringUtiltest.o |
19 | $(CXX) $(LIBS) StringUtiltest.o ../FbTk/libFbTk.a -o testStringUtil | 23 | $(CXX) $(LIBS) StringUtiltest.o ../FbTk/libFbTk.a -o testStringUtil |
20 | 24 | ||