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
|
||||
nim c --verbosity:0 samples.nim
|
||||
nim c $(VERBOSE) samples.nim
|
||||
|
||||
run: samples
|
||||
./samples --verbosity:0
|
||||
./samples $(VERBOSE)
|
||||
|
||||
examine: samples
|
||||
# nim c --verbosity:0 --opt:speed -d:release -d:danger --checks:off samples.nim && time ./samples --verbosity:0 --checks:off
|
||||
nim c -d:release samples.nim && time ./samples
|
||||
nim c $(VERBOSE) -d:release samples.nim && time ./samples $(VERBOSE)
|
||||
|
|
Loading…
Reference in New Issue
Block a user