r8436 - software/goplay/src
Miriam Ruiz
miriam at alioth.debian.org
Tue Nov 18 17:00:53 UTC 2008
Author: miriam
Date: 2008-11-18 17:00:53 +0000 (Tue, 18 Nov 2008)
New Revision: 8436
Added:
software/goplay/src/Makefile
Log:
Adding makefile
Added: software/goplay/src/Makefile
===================================================================
--- software/goplay/src/Makefile (rev 0)
+++ software/goplay/src/Makefile 2008-11-18 17:00:53 UTC (rev 8436)
@@ -0,0 +1,27 @@
+OBJS= test_aux.o test_Engine.o test_Environment.o test_filter.o \
+ test_goplay.o test_pkgbrowser.o test_taghandler.o \
+ test_ui.o test_windows.o CuTest.o test_main.o
+
+CFLAGS= -O2 -g -I.. -I/usr/include/tagcoll-2.0.7 `fltk-config --cxxflags --use-images` -Wall
+LDFLAGS= -lept -lept-core -lapt-pkg -lxapian -ltagcoll2 -lz -lwibble `fltk-config --ldflags --use-images`
+
+test: $(OBJS)
+ g++ -o $@ $(LDFLAGS) $+
+
+test_main.c:
+ sh CuTest.sh > $@
+
+test_main.o: test_main.c
+ gcc -o $@ $(CFLAGS) -DUNIT_TEST -c $+
+
+test_%.o: %.cpp
+ g++ -o $@ $(CFLAGS) -DUNIT_TEST -c $+
+
+%.o: %.cpp
+ g++ -o $@ $(CFLAGS) -DUNIT_TEST -c $+
+
+%.o: %.c
+ gcc -o $@ $(CFLAGS) -DUNIT_TEST -c $+
+
+clean:
+ rm -f test test_main.c test_*.o
More information about the Pkg-games-commits
mailing list