21 lines
665 B
Makefile
21 lines
665 B
Makefile
SHELL := /bin/bash ## <= required to use time
|
|
VERBOSE=--verbosity:0
|
|
|
|
build: compute_constrained_bayes.nim
|
|
nim c $(VERBOSE) compute_constrained_bayes.nim
|
|
|
|
deps:
|
|
nimble install print@1.0.2
|
|
|
|
run: compute_constrained_bayes
|
|
./compute_constrained_bayes $(VERBOSE)
|
|
|
|
examine: compute_constrained_bayes
|
|
nim c $(VERBOSE) compute_constrained_bayes.nim && time ./compute_constrained_bayes $(VERBOSE) && echo
|
|
nim c $(VERBOSE) -d:release compute_constrained_bayes.nim && time ./compute_constrained_bayes $(VERBOSE) && echo
|
|
nim c $(VERBOSE) -d:danger compute_constrained_bayes.nim && time ./compute_constrained_bayes $(VERBOSE)
|
|
|
|
time:
|
|
time make && echo && time make run
|
|
|