Makefile
author Mahlon E. Smith <mahlon@martini.nu>
Sun, 30 Apr 2017 04:38:52 +0000
changeset 8 67c1c0c716e8
parent 0 755c3645e3dc
child 9 c109bf5f2aa4
permissions -rw-r--r--
README.md edited online with Bitbucket


FILES = tnetstring.nim

default: development

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

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

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

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

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

clean:
	cat .hgignore | xargs rm -rf