aboutsummaryrefslogtreecommitdiff
path: root/congo
blob: ddf7e7b6d3ea01297684631f7c94d7b923688c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

default action: create congo, congod

create file congod from files in src/congod using rule exe
create file congo from files in src/congo using rule exe

congod requires libcongo.a
congo requires libcongo.a

set CXXFLAGS += "-Ilibbu++/src"
set LDFLAGS += "-Llibbu++ -lbu++"

for congo set LDFLAGS += "-lreadline"

rule exe matches all /(.*)\.o/ perform command "g++ {matches} {LDFLAGS} -o {target}"
rule cpp matches one /(.*)\.cpp/ produces {1}.o perform command "g++ {CXXFLAGS} -o {target} {match}"