From f414e9a4a26d74402a569ddcb1ba964394267899 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Fri, 9 Dec 2022 14:17:38 +0100 Subject: Unify advent of code makefile now call from emacs compile make -C .. --- AoC2022/makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 AoC2022/makefile (limited to 'AoC2022/makefile') diff --git a/AoC2022/makefile b/AoC2022/makefile new file mode 100644 index 0000000..968dbff --- /dev/null +++ b/AoC2022/makefile @@ -0,0 +1,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.el -f ert-run-tests-batch-and-exit + +lisp: ${PWD}/solver.lisp + cd ${PWD} && sbcl --load ~/.sbclrc --script solver.lisp + +rust: ${PWD}/solver.rs + cd ${PWD} && rustc solver.rs -o /tmp/solver && /tmp/solver + +elixir: ${PWD}/solver.exs + cd ${PWD} && elixir solver.exs + +# end -- cgit v1.2.3