diff Makefile @ 462:0bc8643cfe25

add: more steps in setup
author Sam <sam@basx.dev>
date Fri, 16 Dec 2022 00:05:41 +0700
parents 59d861a6a5c4
children 213fdf8d31dd
line wrap: on
line diff
--- a/Makefile	Wed Dec 14 00:49:35 2022 +0700
+++ b/Makefile	Fri Dec 16 00:05:41 2022 +0700
@@ -3,9 +3,9 @@
 build/debug/linux:
 	mkdir -p $@
 build/debug/linux/test: build/debug/linux ${SOURCES}
-	nim c -o:$@ --checks:on --assertions:on src/test.nim
+	nim c -o:$@ --gc:orc --debugger:native --checks:on --assertions:on src/test.nim
 
 build/release/linux:
 	mkdir -p $@
 build/release/linux/test: build/release/linux ${SOURCES}
-	nim c -d:release -o:$@ --checks:off --assertions:off src/test.nim
+	nim c -d:release --gc:orc -o:$@ --checks:off --assertions:off src/test.nim