From fa4c185bef9389e3cb9b8d64e09041011ddce78f Mon Sep 17 00:00:00 2001 From: David Date: Fri, 29 Sep 2006 19:48:12 +0000 Subject: david - new make stuff --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 87a4652..a2366be 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ LIBBU:=$(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) SRC:=$(sort $(wildcard src/*.cpp) $(filter %.cpp,$(LIBBU))) -OBJ:=$(patsubst %.cpp,%.o,$(SRC)) src/build.yy.o src/build.tab.o +OBJ:=src/build.yy.o src/build.tab.o $(patsubst %.cpp,%.o,$(SRC)) .PHONY: all extern clean # .SILENT: @@ -15,7 +15,7 @@ extern: $(LIBBU) $(LIBBU): wget -nv -Psrc/ http://svn.xagasoft.com/libbu++/trunk/$@ -build: $(OBJ) +build: src/build.yy.c src/build.tab.c $(OBJ) g++ -ggdb -ldl -o build $(OBJ) %.o: %.cpp -- cgit v1.2.3