author | Mahlon E. Smith <mahlon@laika.com> |
Sun, 18 Feb 2018 22:18:44 -0800 | |
changeset 9 | aa9d537f7067 |
parent 5 | a1276c3d39eb |
child 11 | 475c9942eb15 |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
FILES = netdata_tsrelay.nim |
|
3 |
||
4 |
default: development |
|
5 |
||
6 |
debug: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
7 |
nim --assertions:on --nimcache:.cache c ${FILES} |
0 | 8 |
|
9 |
development: ${FILES} |
|
10 |
# can use gdb with this... |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
11 |
nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES} |
0 | 12 |
|
13 |
debugger: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
14 |
nim --debugger:on --nimcache:.cache c ${FILES} |
0 | 15 |
|
16 |
release: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
17 |
nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES} |
0 | 18 |
|
19 |
docs: |
|
20 |
nim doc ${FILES} |
|
21 |
#nim buildIndex ${FILES} |
|
22 |
||
23 |
clean: |
|
24 |
cat .hgignore | xargs rm -rf |
|
25 |