diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-06-29 05:50:44 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-06-29 05:50:44 +0000 |
commit | 937d960d2677c87ac6d68dc5445be115ac001d3e (patch) | |
tree | 35b33aebb0cab5073fc0778f13f2425d3e18278f /pymake.conf | |
parent | dcd914665f6e8ea6ea4e648f7357f1c842273d87 (diff) | |
download | libbu++-937d960d2677c87ac6d68dc5445be115ac001d3e.tar.gz libbu++-937d960d2677c87ac6d68dc5445be115ac001d3e.tar.bz2 libbu++-937d960d2677c87ac6d68dc5445be115ac001d3e.tar.xz libbu++-937d960d2677c87ac6d68dc5445be115ac001d3e.zip |
Completely switched over to the much simpler, nicer pymake. Things look great,
and the old Makefile may soon fall into disrepair. To use the old one, which
should almost always be able to build at least thi library, call:
make -f Makefile.legacy
The new Makefile just calls pymake
Diffstat (limited to 'pymake.conf')
-rw-r--r-- | pymake.conf | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pymake.conf b/pymake.conf new file mode 100644 index 0000000..810e3c6 --- /dev/null +++ b/pymake.conf | |||
@@ -0,0 +1,44 @@ | |||
1 | ### pymake by ~3o~ph()g (neonphog.com) ### | ||
2 | ## This skeleton file was generated by pymake... please edit for your project. | ||
3 | |||
4 | [BUILD] | ||
5 | DIR: src | ||
6 | COMMAND: lib | ||
7 | OUTPUT: libbu++.a | ||
8 | |||
9 | [DIRBUILD] | ||
10 | COMMAND: exe | ||
11 | OUTPUT: tests/{NAME} | ||
12 | ROOT: src/test | ||
13 | LDFLAGS: -L. -lbu++ | ||
14 | CXXFLAGS: -Isrc -Isrc/test | ||
15 | |||
16 | [OVERRIDE] | ||
17 | FILE: tests/plugin | ||
18 | LDFLAGS: -ldl | ||
19 | |||
20 | [DIRBUILD] | ||
21 | COMMAND: exe | ||
22 | OUTPUT: unit/{NAME} | ||
23 | ROOT: src/unit | ||
24 | LDFLAGS: -L. -lbu++ -lcpptest | ||
25 | CXXFLAGS: -Isrc | ||
26 | |||
27 | [TRIGGER] | ||
28 | INPUT: .cpp #take input of *.cpp files | ||
29 | OUTPUT: .o #output .o files | ||
30 | COMMAND: g++ -c {INPUT} {CXXFLAGS} -I{DIR} -o {OUTPUT} | ||
31 | CHECK: g++ -M {INPUT} {CXXFLAGS} -I{DIR} | ||
32 | |||
33 | ### Executable command ### | ||
34 | ## Use this command if you want a simple executable | ||
35 | [COMMAND] | ||
36 | NAME: exe | ||
37 | COMMAND: g++ {INPUT} {LDFLAGS} -o {OUTPUT} | ||
38 | |||
39 | ### Library command ### | ||
40 | ## Use this command if you wish to create a library | ||
41 | [COMMAND] | ||
42 | NAME: lib | ||
43 | COMMAND: ar cr{ARFLAGS} {OUTPUT} {INPUT} | ||
44 | |||