nim-stomp/Makefile

29 lines
586 B
Makefile
Raw Normal View History

2016-03-24 18:56:42 -07:00
FILES = src/stomp.nim
2016-03-24 18:56:42 -07:00
CACHE = .cache
default: development
development: ${FILES}
2021-10-27 14:36:25 -07:00
nim --debugInfo --assertions:on --profiler:on --stackTrace:on --linedir:on -d:ssl --define:debug --nimcache:${CACHE} c ${FILES}
@mv src/stomp .
2016-03-24 18:56:42 -07:00
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}
2021-10-27 14:36:25 -07:00
nim -d:release --opt:speed --panics:on --nimcache:${CACHE} c ${FILES}
@mv src/stomp .
2016-03-24 18:56:42 -07:00
docs:
nim doc ${FILES}
#nim buildIndex ${FILES}
clean:
cat .hgignore | xargs rm -rf