Makefile
author Mahlon E. Smith <mahlon@martini.nu>
Sat, 25 Jul 2020 15:05:26 -0700
changeset 19 1f09cfb560e0
parent 11 475c9942eb15
child 23 89ba1d73b232
permissions -rw-r--r--
Multiple changes. - Clean up various nim compiler warnings. ... except ObservableStores. https://forum.nim-lang.org/t/6442#39738 - Update documentation for Netdata v1.23's "exporting" module. - TCP connections to netdata where dropped by default. Expose this behavior as a toggle, and change the default to leave the child process (and the tcp socket) open. - Bump to v0.3.0.


FILES = netdata_tsrelay.nim

default: release

autobuild:
	find . -type f -iname \*.nim | entr -c make development

development: ${FILES}
	# can use gdb with this...
	nim --debugInfo --assertions:on --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