compute-constrained-bayes/src/makefile

18 lines
453 B
Makefile
Raw Normal View History

2023-05-23 22:29:41 +00:00
SHELL := /bin/bash ## <= required to use time
VERBOSE=--verbosity:0
build: jit_bayes.nim
nim c $(VERBOSE) jit_bayes.nim
run: jit_bayes
./jit_bayes $(VERBOSE)
examine: jit_bayes
nim c $(VERBOSE) jit_bayes.nim && time ./jit_bayes $(VERBOSE) && echo
nim c $(VERBOSE) -d:release jit_bayes.nim && time ./jit_bayes $(VERBOSE) && echo
nim c $(VERBOSE) -d:danger jit_bayes.nim && time ./jit_bayes $(VERBOSE)
time:
time make && echo && time make run