aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2023/makefile
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-12-03 18:11:24 +0100
committerOscar Najera <hi@oscarnajera.com>2023-12-03 18:11:24 +0100
commit1c147396427dbd05abadb4c1bbf9a60bb49770ec (patch)
tree37b50feeffe88ac241ca48001b19e7b267103ccc /AoC2023/makefile
parentb67dd423cd43b056c19838144e39963d3ba02fb0 (diff)
downloadscratch-1c147396427dbd05abadb4c1bbf9a60bb49770ec.tar.gz
scratch-1c147396427dbd05abadb4c1bbf9a60bb49770ec.tar.bz2
scratch-1c147396427dbd05abadb4c1bbf9a60bb49770ec.zip
[AoC2023] day01 lisp fail 2nd
Diffstat (limited to 'AoC2023/makefile')
-rw-r--r--AoC2023/makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/AoC2023/makefile b/AoC2023/makefile
new file mode 100644
index 0000000..318c409
--- /dev/null
+++ b/AoC2023/makefile
@@ -0,0 +1,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