2023-05-23 22:29:41 +00:00
|
|
|
SHELL := /bin/bash ## <= required to use time
|
|
|
|
VERBOSE=--verbosity:0
|
|
|
|
|
2023-05-24 23:58:38 +00:00
|
|
|
build: compute_constrained_bayes.nim
|
|
|
|
nim c $(VERBOSE) compute_constrained_bayes.nim
|
2023-05-23 22:29:41 +00:00
|
|
|
|
2023-05-25 00:12:15 +00:00
|
|
|
deps:
|
|
|
|
nimble install print@1.0.2
|
|
|
|
|
2023-05-24 23:58:38 +00:00
|
|
|
run: compute_constrained_bayes
|
|
|
|
./compute_constrained_bayes $(VERBOSE)
|
2023-05-23 22:29:41 +00:00
|
|
|
|
2023-05-24 23:58:38 +00:00
|
|
|
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)
|
2023-05-23 22:29:41 +00:00
|
|
|
|
|
|
|
time:
|
|
|
|
time make && echo && time make run
|
|
|
|
|