Makefile
changeset 19 1f09cfb560e0
parent 11 475c9942eb15
child 23 89ba1d73b232
equal deleted inserted replaced
18:a135fdaed52b 19:1f09cfb560e0
     1 
     1 
     2 FILES = netdata_tsrelay.nim
     2 FILES = netdata_tsrelay.nim
     3 
     3 
     4 default: release
     4 default: release
     5 
     5 
     6 debug: ${FILES}
     6 autobuild:
     7 	nim --assertions:on --nimcache:.cache c ${FILES}
     7 	find . -type f -iname \*.nim | entr -c make development
     8 
     8 
     9 development: ${FILES}
     9 development: ${FILES}
    10 	# can use gdb with this...
    10 	# can use gdb with this...
    11 	nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
    11 	nim --debugInfo --assertions:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
    12 
    12 
    13 debugger: ${FILES}
    13 debugger: ${FILES}
    14 	nim --debugger:on --nimcache:.cache c ${FILES}
    14 	nim --debugger:on --nimcache:.cache c ${FILES}
    15 
    15 
    16 release: ${FILES}
    16 release: ${FILES}