diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 18:03:28 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 18:03:28 +0000 |
| commit | 51e21a316be6e052251b3dfc7d671061ebd67cee (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /build.conf | |
| parent | ad6f4dfcc671d3f8d458c42b0992956f2a2cf979 (diff) | |
| download | build-51e21a316be6e052251b3dfc7d671061ebd67cee.tar.gz build-51e21a316be6e052251b3dfc7d671061ebd67cee.tar.bz2 build-51e21a316be6e052251b3dfc7d671061ebd67cee.tar.xz build-51e21a316be6e052251b3dfc7d671061ebd67cee.zip | |
Removed the old trunk contents. About to load up m3
Diffstat (limited to 'build.conf')
| -rw-r--r-- | build.conf | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/build.conf b/build.conf deleted file mode 100644 index b52528c..0000000 --- a/build.conf +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | # build.conf for build, kind of whacky, eh? | ||
| 2 | |||
| 3 | default action: check targets() | ||
| 4 | |||
| 5 | set "CXXFLAGS" += "-ggdb" | ||
| 6 | |||
| 7 | "build": | ||
| 8 | rule "exe", | ||
| 9 | target file, | ||
| 10 | requires "libbu++/libbu++.a", | ||
| 11 | set "LDFLAGS" += "-Llibbu++ -Wl,-Bstatic -lbu++ -Wl,-Bdynamic -ldl", | ||
| 12 | set "CXXFLAGS" += "-Ilibbu++", | ||
| 13 | set "FLEXFLAGS" = "--bison-bridge --bison-locations", | ||
| 14 | input filesIn("src") filter regexp(".*\\.(cpp|y|l)$") | ||
| 15 | |||
| 16 | directoriesIn("src/bfilt", "bfilt-"): | ||
| 17 | rule "exe", | ||
| 18 | target file, | ||
| 19 | input filesIn("{fulldir}") filter regexp(".*\\.(cpp|y|l)$") | ||
| 20 | |||
| 21 | rule "exe": | ||
| 22 | matches regexp("(.*)\\.o$"), | ||
| 23 | aggregate toString(" "), | ||
| 24 | perform command("g++ -o {target} {match} {LDFLAGS}") | ||
| 25 | |||
| 26 | rule "cpp": | ||
| 27 | matches regexp("(.*)\\.(cpp|c)$"), | ||
| 28 | produces "{re:1}.o", | ||
| 29 | requires commandToList("g++ -M {CXXFLAGS} {match}", "make"), | ||
| 30 | perform command("g++ {CXXFLAGS} -c -o {target} {match}") | ||
| 31 | |||
| 32 | rule "bison": | ||
| 33 | matches regexp("(.*)\\.y$"), | ||
| 34 | produces ["{re:1}.tab.c", "{re:1}.tab.h", "{re:1}.output"], | ||
| 35 | perform command("bison -v -b{re:1} {match}") | ||
| 36 | |||
| 37 | rule "flex": | ||
| 38 | matches regexp("(.*)\\.l$"), | ||
| 39 | produces "{re:1}.yy.c", | ||
| 40 | perform command("flex {FLEXFLAGS} -o {target} {match}") | ||
| 41 | |||
