Makefile
changeset 0 755c3645e3dc
child 9 c109bf5f2aa4
equal deleted inserted replaced
-1:000000000000 0:755c3645e3dc
       
     1 
       
     2 FILES = tnetstring.nim
       
     3 
       
     4 default: development
       
     5 
       
     6 debug: ${FILES}
       
     7 	nim --assertions:on --nimcache:.cache c ${FILES}
       
     8 
       
     9 development: ${FILES}
       
    10 	# can use gdb with this...
       
    11 	nim -r --debugInfo --linedir:on --define:testing --nimcache:.cache c ${FILES}
       
    12 
       
    13 debugger: ${FILES}
       
    14 	nim --debugger:on --nimcache:.cache c ${FILES}
       
    15 
       
    16 release: ${FILES}
       
    17 	nim -d:release --opt:speed --nimcache:.cache c ${FILES}
       
    18 
       
    19 docs:
       
    20 	nim doc ${FILES}
       
    21 	#nim buildIndex ${FILES}
       
    22 
       
    23 clean:
       
    24 	cat .hgignore | xargs rm -rf
       
    25