diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-02 08:11:02 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-02 08:11:02 +0000 |
commit | f6e00e9579f8d757549849ee027b090baf94870f (patch) | |
tree | eb46c2aa775fc5a68e26bb946e4242dcfe1b77ec | |
parent | 81cdcf71e17061920ad5b5ea5da6164dfbab0e0d (diff) | |
download | libbu++-f6e00e9579f8d757549849ee027b090baf94870f.tar.gz libbu++-f6e00e9579f8d757549849ee027b090baf94870f.tar.bz2 libbu++-f6e00e9579f8d757549849ee027b090baf94870f.tar.xz libbu++-f6e00e9579f8d757549849ee027b090baf94870f.zip |
Just added a build.conf file, libbu++ was really easy to get to work with build.
-rw-r--r-- | build.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/build.conf b/build.conf new file mode 100644 index 0000000..f5626cf --- /dev/null +++ b/build.conf | |||
@@ -0,0 +1,18 @@ | |||
1 | # This is a build file for build | ||
2 | |||
3 | default action: check libbu++.a | ||
4 | "clean" action: clean libbu++.a | ||
5 | |||
6 | create file libbu++.a from files in src using rule lib | ||
7 | |||
8 | set CXXFLAGS += "-ggdb" | ||
9 | |||
10 | set CXXFLAGS += "-Isrc -fPIC" | ||
11 | |||
12 | /(.*)\.o$/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*" | ||
13 | |||
14 | rule lib matches all /(.*)\.o$/ perform command ... | ||
15 | "ar cr {target} {match}" | ||
16 | |||
17 | rule cpp matches one /(.*)\.c(pp)?$/ produces "{re:1}.o" perform command ... | ||
18 | "g++ {CXXFLAGS} -c -o {target} {match}" | ||