Makefile
author Mahlon Smith <mahlon@martini.nu>
Fri, 25 Mar 2016 21:42:44 +0000
changeset 1 3c678f7bf1a0
parent 0 52e9f64937bf
child 4 2f4e88604125
permissions -rw-r--r--
README.md edited online with Bitbucket


FILES = stomp.nim
CACHE = .cache

default: development

development: ${FILES}
	nim --debugInfo --assertions:on --linedir:on -d:ssl --define:debug --nimcache:${CACHE} c ${FILES}

autobuild:
	# find . -depth 1 -name \*.nim | entr -cp make
	echo ${FILES} | entr -c make

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