aboutsummaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-01 03:09:58 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-01 03:09:58 +0000
commit935bc7d5223883d87f58a6798f4a0ade7df95afc (patch)
tree83119cd6b407c6e17c21774f1f0cea940d9c948c /build.conf
parent73d53b0962cb19a6d2a7686de658a5540ab07017 (diff)
downloadbuild-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.gz
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.bz2
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.xz
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.zip
It actually builds, now it just needs dependancy tracking, and maybe auto-target
check triggering.
Diffstat (limited to 'build.conf')
-rw-r--r--build.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.conf b/build.conf
index 9f6f5ab..1d7c6a2 100644
--- a/build.conf
+++ b/build.conf
@@ -7,9 +7,11 @@ create file build from files in src using rule exe
7set CXXFLAGS += "-Ilibbu++/src" 7set CXXFLAGS += "-Ilibbu++/src"
8set LDFLAGS += "-Llibbu++ -lbu++" 8set LDFLAGS += "-Llibbu++ -lbu++"
9 9
10for build set LDFLAGS += -lreadline
11
10build requires src/libbu++/libbu++.a 12build requires src/libbu++/libbu++.a
11 13
12/(.*)\.o/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*" 14/(.*)\.o$/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*"
13 15
14rule exe matches all /(.*)\.o$/ perform command ... 16rule exe matches all /(.*)\.o$/ perform command ...
15 "g++ {match} {LDFLAGS} -o {target}" 17 "g++ {match} {LDFLAGS} -o {target}"
@@ -18,7 +20,7 @@ rule cpp matches one /(.*)\.c(pp)?$/ produces "{re:1}.o" perform command ...
18 "g++ {CXXFLAGS} -c -o {target} {match}" 20 "g++ {CXXFLAGS} -c -o {target} {match}"
19 21
20rule bison matches one /(.*)\.y$/ produces "{re:1}.tab.c", "{re:1}.tab.h" ... 22rule bison matches one /(.*)\.y$/ produces "{re:1}.tab.c", "{re:1}.tab.h" ...
21 perform command "bison {match}" 23 perform command "bison -v -b{re:1} {match}"
22 24
23rule flex matches one /(.*)\.l$/ produces "{re:1}.yy.c" perform ... 25rule flex matches one /(.*)\.l$/ produces "{re:1}.yy.c" perform ...
24 command "flex --bison-bridge --bison-locations -o {target} {match}" 26 command "flex --bison-bridge --bison-locations -o {target} {match}"