summaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
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}"