lspx/Makefile

27 lines
557 B
Makefile

define LISP_CMDS
"(handler-case \
(progn (ql:quickload :lspx) \
(asdf:make :lspx)) \
(error (e) \
(format t \"~A~%\" e) \
(uiop:quit 1)))"
endef
.PHONY: clean all clean-binary woo
all: clean-binary
ros --eval $(LISP_CMDS)
woo: clean-binary
ros --eval "(progn (push :woo *features*) \
(ql:quickload :lspx) \
(asdf:make :lspx))"
clean-binary:
ifneq ("$(wildcard bin/lspx)","")
rm bin/lspx
endif
clean:
rm -ri bin/