Initial commit.
This commit is contained in:
commit
e305686d6d
2 changed files with 216 additions and 0 deletions
25
Makefile
Normal file
25
Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
FILES = netdata_tsrelay.nim
|
||||
|
||||
default: development
|
||||
|
||||
debug: ${FILES}
|
||||
nim --assertions:on --nimcache:.cache c ${FILES}
|
||||
|
||||
development: ${FILES}
|
||||
# can use gdb with this...
|
||||
nim --debugInfo --threads:on --linedir:on --define:testing --nimcache:.cache c ${FILES}
|
||||
|
||||
debugger: ${FILES}
|
||||
nim --debugger:on --threads:on --nimcache:.cache c ${FILES}
|
||||
|
||||
release: ${FILES}
|
||||
nim -d:release --opt:speed --threads:on --nimcache:.cache c ${FILES}
|
||||
|
||||
docs:
|
||||
nim doc ${FILES}
|
||||
#nim buildIndex ${FILES}
|
||||
|
||||
clean:
|
||||
cat .hgignore | xargs rm -rf
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue