Makefile
author Mahlon E. Smith <mahlon@martini.nu>
Tue, 15 Sep 2015 11:28:40 -0700
changeset 3 ecde1a332692
parent 0 f480e159f575
child 4 ffb8b9920057
permissions -rw-r--r--
I'm not sure how I missed this one. Ssssh. Nothing to see here.


FILES = mongrel2.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