aboutsummaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-01 06:27:43 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-01 06:27:43 +0000
commit46a3cfdd7b2a77a308a6ac3fbca3b675c4f44fe7 (patch)
tree795ace6809cbba6019f5517b345a5ab20fed5b9a /build.conf
parent935bc7d5223883d87f58a6798f4a0ade7df95afc (diff)
downloadbuild-46a3cfdd7b2a77a308a6ac3fbca3b675c4f44fe7.tar.gz
build-46a3cfdd7b2a77a308a6ac3fbca3b675c4f44fe7.tar.bz2
build-46a3cfdd7b2a77a308a6ac3fbca3b675c4f44fe7.tar.xz
build-46a3cfdd7b2a77a308a6ac3fbca3b675c4f44fe7.zip
It builds fine, and can build other things as well, like squirrelmud, and clean.
I need to fix the dependancy tracking so that it will only check if it needs to, sort of like pymake. And does each file as it gets to it.
Diffstat (limited to '')
-rw-r--r--build.conf7
1 files changed, 3 insertions, 4 deletions
diff --git a/build.conf b/build.conf
index 1d7c6a2..b24d7d0 100644
--- a/build.conf
+++ b/build.conf
@@ -1,14 +1,13 @@
1# This is a build file for build 1# This is a build file for build
2 2
3default action: check build 3default action: check build
4"clean" action: clean build
4 5
5create file build from files in src using rule exe 6create file build from files in src using rule exe
6 7
7set CXXFLAGS += "-Ilibbu++/src" 8set CXXFLAGS += "-Ilibbu++/src"
8set LDFLAGS += "-Llibbu++ -lbu++" 9set LDFLAGS += "-Llibbu++ -lbu++"
9 10
10for build set LDFLAGS += -lreadline
11
12build requires src/libbu++/libbu++.a 11build requires src/libbu++/libbu++.a
13 12
14/(.*)\.o$/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*" 13/(.*)\.o$/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*"
@@ -19,8 +18,8 @@ rule exe matches all /(.*)\.o$/ perform command ...
19rule cpp matches one /(.*)\.c(pp)?$/ produces "{re:1}.o" perform command ... 18rule cpp matches one /(.*)\.c(pp)?$/ produces "{re:1}.o" perform command ...
20 "g++ {CXXFLAGS} -c -o {target} {match}" 19 "g++ {CXXFLAGS} -c -o {target} {match}"
21 20
22rule bison matches one /(.*)\.y$/ produces "{re:1}.tab.c", "{re:1}.tab.h" ... 21rule bison matches one /(.*)\.y$/ produces "{re:1}.tab.c", "{re:1}.tab.h", ...
23 perform command "bison -v -b{re:1} {match}" 22 "{re:1}.output" perform command "bison -v -b{re:1} {match}"
24 23
25rule flex matches one /(.*)\.l$/ produces "{re:1}.yy.c" perform ... 24rule flex matches one /(.*)\.l$/ produces "{re:1}.yy.c" perform ...
26 command "flex --bison-bridge --bison-locations -o {target} {match}" 25 command "flex --bison-bridge --bison-locations -o {target} {match}"