Makefile
author Mahlon E. Smith <mahlon@laika.com>
Tue, 20 Feb 2018 10:59:26 -0800
changeset 13 e1777929ba15
parent 11 475c9942eb15
child 19 1f09cfb560e0
permissions -rw-r--r--
Remove port and user from the default dbopts, so they instead use the postgresql behavioral default.


FILES = netdata_tsrelay.nim

default: release

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