tweak nim makefile
This commit is contained in:
parent
1ebc3ce7b9
commit
3050f7adee
|
@ -1,11 +1,11 @@
|
||||||
SHELL := /bin/bash
|
SHELL := /bin/bash ## <= required to use time
|
||||||
|
VERBOSE=--verbosity:0
|
||||||
|
|
||||||
build: samples.nim
|
build: samples.nim
|
||||||
nim c --verbosity:0 samples.nim
|
nim c $(VERBOSE) samples.nim
|
||||||
|
|
||||||
run: samples
|
run: samples
|
||||||
./samples --verbosity:0
|
./samples $(VERBOSE)
|
||||||
|
|
||||||
examine: samples
|
examine: samples
|
||||||
# nim c --verbosity:0 --opt:speed -d:release -d:danger --checks:off samples.nim && time ./samples --verbosity:0 --checks:off
|
nim c $(VERBOSE) -d:release samples.nim && time ./samples $(VERBOSE)
|
||||||
nim c -d:release samples.nim && time ./samples
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user