0
|
1 |
|
|
2 |
FILES = netdata_tsrelay.nim
|
|
3 |
|
|
4 |
default: development
|
|
5 |
|
|
6 |
debug: ${FILES}
|
5
|
7 |
nim --assertions:on --threads:on --nimcache:.cache c ${FILES}
|
0
|
8 |
|
|
9 |
development: ${FILES}
|
|
10 |
# can use gdb with this...
|
5
|
11 |
nim --debugInfo --threads:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
|
0
|
12 |
|
|
13 |
debugger: ${FILES}
|
|
14 |
nim --debugger:on --threads:on --nimcache:.cache c ${FILES}
|
|
15 |
|
|
16 |
release: ${FILES}
|
5
|
17 |
nim -d:release --opt:speed --parallelBuild:0 --threads:on --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 |
|