summaryrefslogtreecommitdiff
path: root/pymake.conf
blob: 810e3c6c9116817a6f63ca227b573a2ccf67f6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
### pymake by ~3o~ph()g (neonphog.com) ###
## This skeleton file was generated by pymake... please edit for your project.

[BUILD]
DIR: src
COMMAND: lib
OUTPUT: libbu++.a

[DIRBUILD]
COMMAND: exe
OUTPUT: tests/{NAME}
ROOT: src/test
LDFLAGS: -L. -lbu++
CXXFLAGS: -Isrc -Isrc/test

[OVERRIDE]
FILE: tests/plugin
LDFLAGS: -ldl

[DIRBUILD]
COMMAND: exe
OUTPUT: unit/{NAME}
ROOT: src/unit
LDFLAGS: -L. -lbu++ -lcpptest
CXXFLAGS: -Isrc

[TRIGGER]
INPUT: .cpp    #take input of *.cpp files
OUTPUT: .o     #output .o files
COMMAND: g++ -c {INPUT} {CXXFLAGS} -I{DIR} -o {OUTPUT}
CHECK: g++ -M {INPUT} {CXXFLAGS} -I{DIR}

### Executable command ###
## Use this command if you want a simple executable
[COMMAND]
NAME: exe
COMMAND: g++ {INPUT} {LDFLAGS} -o {OUTPUT}

### Library command ###
## Use this command if you wish to create a library
[COMMAND]
NAME: lib
COMMAND: ar cr{ARFLAGS} {OUTPUT} {INPUT}