aboutsummaryrefslogtreecommitdiff
path: root/pymake.conf
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-06-29 05:50:44 +0000
committerMike Buland <eichlan@xagasoft.com>2006-06-29 05:50:44 +0000
commit937d960d2677c87ac6d68dc5445be115ac001d3e (patch)
tree35b33aebb0cab5073fc0778f13f2425d3e18278f /pymake.conf
parentdcd914665f6e8ea6ea4e648f7357f1c842273d87 (diff)
downloadlibbu++-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.conf44
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]
5DIR: src
6COMMAND: lib
7OUTPUT: libbu++.a
8
9[DIRBUILD]
10COMMAND: exe
11OUTPUT: tests/{NAME}
12ROOT: src/test
13LDFLAGS: -L. -lbu++
14CXXFLAGS: -Isrc -Isrc/test
15
16[OVERRIDE]
17FILE: tests/plugin
18LDFLAGS: -ldl
19
20[DIRBUILD]
21COMMAND: exe
22OUTPUT: unit/{NAME}
23ROOT: src/unit
24LDFLAGS: -L. -lbu++ -lcpptest
25CXXFLAGS: -Isrc
26
27[TRIGGER]
28INPUT: .cpp #take input of *.cpp files
29OUTPUT: .o #output .o files
30COMMAND: g++ -c {INPUT} {CXXFLAGS} -I{DIR} -o {OUTPUT}
31CHECK: g++ -M {INPUT} {CXXFLAGS} -I{DIR}
32
33### Executable command ###
34## Use this command if you want a simple executable
35[COMMAND]
36NAME: exe
37COMMAND: g++ {INPUT} {LDFLAGS} -o {OUTPUT}
38
39### Library command ###
40## Use this command if you wish to create a library
41[COMMAND]
42NAME: lib
43COMMAND: ar cr{ARFLAGS} {OUTPUT} {INPUT}
44