diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-07-30 03:28:46 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-30 03:28:46 +0000 |
| commit | 28e92029752693ffe33de12c10de3e7bd39a3c94 (patch) | |
| tree | 932b447a558a3278311e55b495070f2683c3acec /congo | |
| parent | 3d8c367fb6160486b63b19b5d156adfeac621b34 (diff) | |
| download | build-28e92029752693ffe33de12c10de3e7bd39a3c94.tar.gz build-28e92029752693ffe33de12c10de3e7bd39a3c94.tar.bz2 build-28e92029752693ffe33de12c10de3e7bd39a3c94.tar.xz build-28e92029752693ffe33de12c10de3e7bd39a3c94.zip | |
Figured out a format I like, we'll see what happens.
Diffstat (limited to '')
| -rw-r--r-- | congo | 26 |
1 files changed, 13 insertions, 13 deletions
| @@ -1,16 +1,16 @@ | |||
| 1 | 1 | ||
| 2 | target( all ) | 2 | default action: create congo, congod |
| 3 | { | ||
| 4 | build( congo ); | ||
| 5 | build( congod ); | ||
| 6 | } | ||
| 7 | 3 | ||
| 8 | target( congo ) | 4 | create file congod from files in src/congod using rule exe |
| 9 | { | 5 | create 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 | ||
| 7 | congod requires libcongo.a | ||
| 8 | congo requires libcongo.a | ||
| 9 | |||
| 10 | set CXXFLAGS += "-Ilibbu++/src" | ||
| 11 | set LDFLAGS += "-Llibbu++ -lbu++" | ||
| 12 | |||
| 13 | for congo set LDFLAGS += "-lreadline" | ||
| 14 | |||
| 15 | rule exe matches all /(.*)\.o/ perform command "g++ {matches} {LDFLAGS} -o {target}" | ||
| 16 | rule cpp matches one /(.*)\.cpp/ produces {1}.o perform command "g++ {CXXFLAGS} -o {target} {match}" | ||
