Makefile
changeset 10 d63cce6d1a09
parent 4 2f4e88604125
equal deleted inserted replaced
9:ad53c6500712 10:d63cce6d1a09
     3 CACHE = .cache
     3 CACHE = .cache
     4 
     4 
     5 default: development
     5 default: development
     6 
     6 
     7 development: ${FILES}
     7 development: ${FILES}
     8 	nim --debugInfo --assertions:on --linedir:on -d:ssl --define:debug --nimcache:${CACHE} c ${FILES}
     8 	nim --debugInfo --assertions:on --profiler:on --stackTrace:on --linedir:on -d:ssl --define:debug --nimcache:${CACHE} c ${FILES}
     9 	@mv src/stomp .
     9 	@mv src/stomp .
    10 
    10 
    11 autobuild:
    11 autobuild:
    12 	# find . -depth 1 -name \*.nim | entr -cp make
    12 	# find . -depth 1 -name \*.nim | entr -cp make
    13 	echo ${FILES} | entr -c make
    13 	echo ${FILES} | entr -c make
    14 
    14 
    15 debugger: ${FILES}
    15 debugger: ${FILES}
    16 	nim --debugger:on --nimcache:${CACHE} c ${FILES}
    16 	nim --debugger:on --nimcache:${CACHE} c ${FILES}
    17 
    17 
    18 release: ${FILES}
    18 release: ${FILES}
    19 	nim -d:release --opt:speed --nimcache:${CACHE} c ${FILES}
    19 	nim -d:release --opt:speed --panics:on --nimcache:${CACHE} c ${FILES}
    20 	@mv src/stomp .
    20 	@mv src/stomp .
    21 
    21 
    22 docs:
    22 docs:
    23 	nim doc ${FILES}
    23 	nim doc ${FILES}
    24 	#nim buildIndex ${FILES}
    24 	#nim buildIndex ${FILES}