Makefile
author Mahlon E. Smith <mahlon@laika.com>
Sun, 18 Feb 2018 23:40:34 -0800
changeset 10 252cdb26f76b
parent 9 aa9d537f7067
child 11 475c9942eb15
permissions -rw-r--r--
Fix the netdata link to point the the right spot. ... shame!


FILES = netdata_tsrelay.nim

default: development

debug: ${FILES}
	nim --assertions:on --nimcache:.cache c ${FILES}

development: ${FILES}
	# can use gdb with this...
	nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}

debugger: ${FILES}
	nim --debugger:on --nimcache:.cache c ${FILES}

release: ${FILES}
	nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES}

docs:
	nim doc ${FILES}
	#nim buildIndex ${FILES}

clean:
	cat .hgignore | xargs rm -rf