Makefile
author Mahlon E. Smith <mahlon@laika.com>
Mon, 12 Feb 2018 12:49:12 -0800
changeset 1 160338bb2822
parent 0 72c9c6f0b713
child 5 a1276c3d39eb
permissions -rw-r--r--
Add README.


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