aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2006-09-29 19:48:12 +0000
committerDavid <david@xagasoft.com>2006-09-29 19:48:12 +0000
commitfa4c185bef9389e3cb9b8d64e09041011ddce78f (patch)
treebbe037bd2b19621c1f43bc6b6e6d6452e5320b65
parent21431a7d904b60a160c3bd1e94a20c512c6b54c6 (diff)
downloadbuild-fa4c185bef9389e3cb9b8d64e09041011ddce78f.tar.gz
build-fa4c185bef9389e3cb9b8d64e09041011ddce78f.tar.bz2
build-fa4c185bef9389e3cb9b8d64e09041011ddce78f.tar.xz
build-fa4c185bef9389e3cb9b8d64e09041011ddce78f.zip
david - new make stuff
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 87a4652..a2366be 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
1LIBBU:=$(foreach f,paramproc.h paramproc.cpp staticstring.h staticstring.cpp exceptions.h exceptions.cpp serializable.h serializable.cpp exceptionbase.h exceptionbase.cpp plugger.h plugger.cpp singleton.h hashtable.cpp hashtable.h hashfunction.h hashfunction.cpp hashfunctionint.cpp hashfunctionint.h hashfunctionstring.cpp hashfunctionstring.h serializerbinary.cpp serializerbinary.h serializer.cpp serializer.h stringrep.h stringrep.cpp,src/$f) 1LIBBU:=$(foreach f,paramproc.h paramproc.cpp staticstring.h staticstring.cpp exceptions.h exceptions.cpp serializable.h serializable.cpp exceptionbase.h exceptionbase.cpp plugger.h plugger.cpp singleton.h hashtable.cpp hashtable.h hashfunction.h hashfunction.cpp hashfunctionint.cpp hashfunctionint.h hashfunctionstring.cpp hashfunctionstring.h serializerbinary.cpp serializerbinary.h serializer.cpp serializer.h stringrep.h stringrep.cpp,src/$f)
2SRC:=$(sort $(wildcard src/*.cpp) $(filter %.cpp,$(LIBBU))) 2SRC:=$(sort $(wildcard src/*.cpp) $(filter %.cpp,$(LIBBU)))
3OBJ:=$(patsubst %.cpp,%.o,$(SRC)) src/build.yy.o src/build.tab.o 3OBJ:=src/build.yy.o src/build.tab.o $(patsubst %.cpp,%.o,$(SRC))
4 4
5.PHONY: all extern clean 5.PHONY: all extern clean
6# .SILENT: 6# .SILENT:
@@ -15,7 +15,7 @@ extern: $(LIBBU)
15$(LIBBU): 15$(LIBBU):
16 wget -nv -Psrc/ http://svn.xagasoft.com/libbu++/trunk/$@ 16 wget -nv -Psrc/ http://svn.xagasoft.com/libbu++/trunk/$@
17 17
18build: $(OBJ) 18build: src/build.yy.c src/build.tab.c $(OBJ)
19 g++ -ggdb -ldl -o build $(OBJ) 19 g++ -ggdb -ldl -o build $(OBJ)
20 20
21%.o: %.cpp 21%.o: %.cpp