tweak nim makefile

This commit is contained in:
NunoSempere 2023-05-21 01:34:02 -04:00
parent 1ebc3ce7b9
commit 3050f7adee

View File

@ -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