From e7a2aa16ae7351d4c986a7ae5753ccb7ac880b8b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 6 Nov 2012 18:21:53 +0000 Subject: Stole the packaging from libbu++ (again). --- build.conf | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 build.conf (limited to 'build.conf') diff --git a/build.conf b/build.conf deleted file mode 100644 index cab11a8..0000000 --- a/build.conf +++ /dev/null @@ -1,35 +0,0 @@ -# build.conf for build, kind of whacky, eh? - -default action: check targets() - -set "CXXFLAGS" += "-ggdb -W -Wall" - -"build": - rule "exe", - target file, - requires "libbu++/libbu++.a", - set "LDFLAGS" += "-Llibbu++ -lbu++ -ldl", - set "CXXFLAGS" += "-Ilibbu++", - input filesIn("src") filter regexp(".*\\.(cpp|y|l)$") - -rule "exe": - matches regexp("(.*)\\.o$"), - aggregate toString(" "), - perform command("g++ -o {target} {match} {LDFLAGS}") - -rule "cpp": - matches regexp("(.*)\\.(cpp|c)$"), - produces "{re:1}.o", - requires commandToList("g++ -M {CXXFLAGS} {match}", "make"), - perform command("g++ {CXXFLAGS} -c -o {target} {match}") - -rule "bison": - matches regexp("(.*)\\.y$"), - produces ["{re:1}.tab.c", "{re:1}.tab.h", "{re:1}.output"], - perform command("bison -v -b{re:1} {match}") - -rule "flex": - matches regexp("(.*)\\.l$"), - produces ["{re:1}.yy.c","{re:1}.yy.h"], - perform command("flex {FLEXFLAGS} {match}") - -- cgit v1.2.3