diff -r 000000000000 -r f480e159f575 Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Tue May 26 15:40:11 2015 -0700 @@ -0,0 +1,25 @@ + +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 +