From 46a3cfdd7b2a77a308a6ac3fbca3b675c4f44fe7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 1 Aug 2006 06:27:43 +0000 Subject: 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. --- build.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'build.conf') diff --git a/build.conf b/build.conf index 1d7c6a2..b24d7d0 100644 --- a/build.conf +++ b/build.conf @@ -1,14 +1,13 @@ # This is a build file for build default action: check build +"clean" action: clean build create file build from files in src using rule exe set CXXFLAGS += "-Ilibbu++/src" set LDFLAGS += "-Llibbu++ -lbu++" -for build set LDFLAGS += -lreadline - build requires src/libbu++/libbu++.a /(.*)\.o$/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*" @@ -19,8 +18,8 @@ rule exe matches all /(.*)\.o$/ perform command ... rule cpp matches one /(.*)\.c(pp)?$/ produces "{re:1}.o" perform command ... "g++ {CXXFLAGS} -c -o {target} {match}" -rule bison matches one /(.*)\.y$/ produces "{re:1}.tab.c", "{re:1}.tab.h" ... - perform command "bison -v -b{re:1} {match}" +rule bison matches one /(.*)\.y$/ produces "{re:1}.tab.c", "{re:1}.tab.h", ... + "{re:1}.output" perform command "bison -v -b{re:1} {match}" rule flex matches one /(.*)\.l$/ produces "{re:1}.yy.c" perform ... command "flex --bison-bridge --bison-locations -o {target} {match}" -- cgit v1.2.3