diff options
Diffstat (limited to '')
-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 | |||