From f6e00e9579f8d757549849ee027b090baf94870f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 2 Aug 2006 08:11:02 +0000 Subject: Just added a build.conf file, libbu++ was really easy to get to work with build. --- build.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 build.conf diff --git a/build.conf b/build.conf new file mode 100644 index 0000000..f5626cf --- /dev/null +++ b/build.conf @@ -0,0 +1,18 @@ +# This is a build file for build + +default action: check libbu++.a +"clean" action: clean libbu++.a + +create file libbu++.a from files in src using rule lib + +set CXXFLAGS += "-ggdb" + +set CXXFLAGS += "-Isrc -fPIC" + +/(.*)\.o$/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*" + +rule lib matches all /(.*)\.o$/ perform command ... + "ar cr {target} {match}" + +rule cpp matches one /(.*)\.c(pp)?$/ produces "{re:1}.o" perform command ... + "g++ {CXXFLAGS} -c -o {target} {match}" -- cgit v1.2.3