Add Makefile for binary/cleanup
This commit is contained in:
parent
3a26997f2d
commit
199dc99c36
|
@ -0,0 +1,20 @@
|
|||
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)'
|
Ŝarĝante…
Reference in New Issue