2024-05-27 23:46:43 -05:00
|
|
|
LISP ?= sbcl
|
|
|
|
|
|
|
|
all: clean build
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm mirror-img
|
|
|
|
|
|
|
|
quicklisp:
|
|
|
|
curl "https://beta.quicklisp.org/quicklisp.lisp" -o /tmp/ql.lisp
|
|
|
|
$(LISP) --load /tmp/ql.lisp \
|
|
|
|
--eval '(quicklisp-quickstart:install :path "~/.local/lib/quicklisp/")' \
|
|
|
|
--eval '(ql:add-to-init-file)' \
|
|
|
|
--eval '(quit)'
|
|
|
|
|
|
|
|
build:
|
|
|
|
$(LISP) --load mirror-img.asd \
|
|
|
|
--eval '(ql:quickload :mirror-img)' \
|
|
|
|
--eval '(ql:quickload :mirror-img/unix)' \
|
|
|
|
--eval '(asdf:make :mirror-img/unix)' \
|
|
|
|
--eval '(quit)'
|
2024-05-27 23:59:55 -05:00
|
|
|
|
|
|
|
test:
|
|
|
|
$(LISP) --load mirror-img.asd \
|
|
|
|
--eval '(ql:quickload :mirror-img)' \
|
|
|
|
--eval '(asdf:test-system :mirror-img)' \
|
|
|
|
--eval '(quit)'
|