diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ | |||
1 | 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) | 1 | 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) |
2 | SRC:=$(sort $(wildcard src/*.cpp) $(filter %.cpp,$(LIBBU))) | 2 | SRC:=$(sort $(wildcard src/*.cpp) $(filter %.cpp,$(LIBBU))) |
3 | OBJ:=$(patsubst %.cpp,%.o,$(SRC)) src/build.yy.o src/build.tab.o | 3 | OBJ:=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 | ||
18 | build: $(OBJ) | 18 | build: 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 |