summaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-02 08:11:02 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-02 08:11:02 +0000
commitf6e00e9579f8d757549849ee027b090baf94870f (patch)
treeeb46c2aa775fc5a68e26bb946e4242dcfe1b77ec /build.conf
parent81cdcf71e17061920ad5b5ea5da6164dfbab0e0d (diff)
downloadlibbu++-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.
Diffstat (limited to 'build.conf')
-rw-r--r--build.conf18
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
3default action: check libbu++.a
4"clean" action: clean libbu++.a
5
6create file libbu++.a from files in src using rule lib
7
8set CXXFLAGS += "-ggdb"
9
10set CXXFLAGS += "-Isrc -fPIC"
11
12/(.*)\.o$/ requires from command "g++ {CXXFLAGS} -M {re:1}.c*"
13
14rule lib matches all /(.*)\.o$/ perform command ...
15 "ar cr {target} {match}"
16
17rule cpp matches one /(.*)\.c(pp)?$/ produces "{re:1}.o" perform command ...
18 "g++ {CXXFLAGS} -c -o {target} {match}"