aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2022/makefile
blob: 95062ff2e280cc6a0562efdfda39f0f87da27770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
##
# Project Title
#
# @file
# @version 0.1

clean:
	find . -name solver | xargs rm -vf


emacs: ${PWD}/solver.el
	cd ${PWD} && emacs -batch -l ert -l solver.elc -f ert-run-tests-batch-and-exit

lisp: ${PWD}/solver.lisp
	cd ${PWD} && time sbcl --load ~/.sbclrc --load solver.lisp --eval '(fiveam:run-all-tests)' --non-interactive

rust: ${PWD}/solver.rs
	cd ${PWD} && rustc solver.rs -o /tmp/solver && /tmp/solver

elixir: ${PWD}/solver.exs
	cd ${PWD} && elixir solver.exs

# end