aboutsummaryrefslogtreecommitdiff
path: root/congo
diff options
context:
space:
mode:
Diffstat (limited to 'congo')
-rw-r--r--congo26
1 files changed, 13 insertions, 13 deletions
diff --git a/congo b/congo
index 336a196..ddf7e7b 100644
--- a/congo
+++ b/congo
@@ -1,16 +1,16 @@
1 1
2target( all ) 2default action: create congo, congod
3{
4 build( congo );
5 build( congod );
6}
7 3
8target( congo ) 4create file congod from files in src/congod using rule exe
9{ 5create file congo from files in src/congo using rule exe
10 type = executable;
11 linker = c++;
12
13 uses( src/congo );
14 uses( src/congod );
15}
16 6
7congod requires libcongo.a
8congo requires libcongo.a
9
10set CXXFLAGS += "-Ilibbu++/src"
11set LDFLAGS += "-Llibbu++ -lbu++"
12
13for congo set LDFLAGS += "-lreadline"
14
15rule exe matches all /(.*)\.o/ perform command "g++ {matches} {LDFLAGS} -o {target}"
16rule cpp matches one /(.*)\.cpp/ produces {1}.o perform command "g++ {CXXFLAGS} -o {target} {match}"