aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2022/makefile
blob: 318c409bec699c425bc2475a52d95f16f4c1b907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##
# 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.el -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

julia: ${PWD}/solver.jl
	cd ${PWD} && julia solver.jl
# end