2018-02-12 12:26:16 -08:00
|
|
|
|
|
|
|
|
FILES = netdata_tsrelay.nim
|
|
|
|
|
|
2018-02-19 18:22:25 -08:00
|
|
|
default: release
|
2018-02-12 12:26:16 -08:00
|
|
|
|
|
|
|
|
debug: ${FILES}
|
2018-02-18 22:18:44 -08:00
|
|
|
nim --assertions:on --nimcache:.cache c ${FILES}
|
2018-02-12 12:26:16 -08:00
|
|
|
|
|
|
|
|
development: ${FILES}
|
|
|
|
|
# can use gdb with this...
|
2018-02-18 22:18:44 -08:00
|
|
|
nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
|
2018-02-12 12:26:16 -08:00
|
|
|
|
|
|
|
|
debugger: ${FILES}
|
2018-02-18 22:18:44 -08:00
|
|
|
nim --debugger:on --nimcache:.cache c ${FILES}
|
2018-02-12 12:26:16 -08:00
|
|
|
|
|
|
|
|
release: ${FILES}
|
2018-02-18 22:18:44 -08:00
|
|
|
nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES}
|
2018-02-12 12:26:16 -08:00
|
|
|
|
|
|
|
|
docs:
|
|
|
|
|
nim doc ${FILES}
|
|
|
|
|
#nim buildIndex ${FILES}
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
cat .hgignore | xargs rm -rf
|
|
|
|
|
|