Makefile
changeset 0 72c9c6f0b713
child 5 a1276c3d39eb
equal deleted inserted replaced
-1:000000000000 0:72c9c6f0b713
       
     1 
       
     2 FILES = netdata_tsrelay.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 --debugInfo --threads:on --linedir:on --define:testing --nimcache:.cache c ${FILES}
       
    12 
       
    13 debugger: ${FILES}
       
    14 	nim --debugger:on --threads:on --nimcache:.cache c ${FILES}
       
    15 
       
    16 release: ${FILES}
       
    17 	nim -d:release --opt:speed --threads:on --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