diff options
| author | David <david@xagasoft.com> | 2006-09-29 19:48:12 +0000 |
|---|---|---|
| committer | David <david@xagasoft.com> | 2006-09-29 19:48:12 +0000 |
| commit | fa4c185bef9389e3cb9b8d64e09041011ddce78f (patch) | |
| tree | bbe037bd2b19621c1f43bc6b6e6d6452e5320b65 | |
| parent | 21431a7d904b60a160c3bd1e94a20c512c6b54c6 (diff) | |
| download | build-fa4c185bef9389e3cb9b8d64e09041011ddce78f.tar.gz build-fa4c185bef9389e3cb9b8d64e09041011ddce78f.tar.bz2 build-fa4c185bef9389e3cb9b8d64e09041011ddce78f.tar.xz build-fa4c185bef9389e3cb9b8d64e09041011ddce78f.zip | |
david - new make stuff
| -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 |
