time-to-botec/wip/nim/makefile

12 lines
243 B
Makefile
Raw Normal View History

2023-05-21 05:34:02 +00:00
SHELL := /bin/bash ## <= required to use time
VERBOSE=--verbosity:0
2023-05-21 05:22:02 +00:00
2023-05-21 02:24:30 +00:00
build: samples.nim
2023-05-21 05:34:02 +00:00
nim c $(VERBOSE) samples.nim
2023-05-21 05:22:02 +00:00
run: samples
2023-05-21 05:34:02 +00:00
./samples $(VERBOSE)
2023-05-21 05:22:02 +00:00
examine: samples
2023-05-21 05:34:02 +00:00
nim c $(VERBOSE) -d:release samples.nim && time ./samples $(VERBOSE)