aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2023/makefile
blob: d9464846cc89a97699655ec674fcf54b77c4ad10 (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 '*.fasl' | 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 $< --eval '(time (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