Makefile
changeset 9 aa9d537f7067
parent 5 a1276c3d39eb
child 11 475c9942eb15
equal deleted inserted replaced
8:1ef3f2d6d10e 9:aa9d537f7067
     2 FILES = netdata_tsrelay.nim
     2 FILES = netdata_tsrelay.nim
     3 
     3 
     4 default: development
     4 default: development
     5 
     5 
     6 debug: ${FILES}
     6 debug: ${FILES}
     7 	nim --assertions:on --threads:on --nimcache:.cache c ${FILES}
     7 	nim --assertions:on --nimcache:.cache c ${FILES}
     8 
     8 
     9 development: ${FILES}
     9 development: ${FILES}
    10 	# can use gdb with this...
    10 	# can use gdb with this...
    11 	nim --debugInfo --threads:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
    11 	nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
    12 
    12 
    13 debugger: ${FILES}
    13 debugger: ${FILES}
    14 	nim --debugger:on --threads:on --nimcache:.cache c ${FILES}
    14 	nim --debugger:on --nimcache:.cache c ${FILES}
    15 
    15 
    16 release: ${FILES}
    16 release: ${FILES}
    17 	nim -d:release --opt:speed --parallelBuild:0 --threads:on --nimcache:.cache c ${FILES}
    17 	nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES}
    18 
    18 
    19 docs:
    19 docs:
    20 	nim doc ${FILES}
    20 	nim doc ${FILES}
    21 	#nim buildIndex ${FILES}
    21 	#nim buildIndex ${FILES}
    22 
    22