2023-06-26 20:25:02 -05:00
|
|
|
LISP ?= ecl
|
2023-07-02 13:16:07 -05:00
|
|
|
SWANK ?= ${HOME}/.config/emacs/elpa/slime-20221206.26/swank-loader.lisp
|
|
|
|
USE_SWANK ?= no
|
2023-06-26 20:25:02 -05:00
|
|
|
|
2023-06-30 13:41:22 -05:00
|
|
|
fonts:
|
|
|
|
$(LISP) \
|
|
|
|
--load "res/fonts/flf→lisp.lisp"
|
2023-06-26 20:25:02 -05:00
|
|
|
maps:
|
|
|
|
$(LISP) \
|
|
|
|
--load "res/maps/tmx→lisp.lisp"
|
|
|
|
|
|
|
|
build:
|
|
|
|
$(LISP) \
|
|
|
|
--eval '(ql:quickload :flora-search-aurora)' \
|
|
|
|
--eval '(asdf:make :flora-search-aurora)' \
|
|
|
|
--eval '(quit)'
|
2023-07-02 13:16:07 -05:00
|
|
|
|
|
|
|
run:
|
|
|
|
ifeq ($(USE_SWANK),yes)
|
|
|
|
$(LISP) \
|
|
|
|
--eval '(ql:quickload :flora-search-aurora)' \
|
|
|
|
--eval '(load "$(SWANK)")' \
|
|
|
|
--eval '(swank-loader:init)' \
|
|
|
|
--eval "(swank:create-server :dont-close 't)" \
|
|
|
|
--eval '(flora-search-aurora:main)'
|
|
|
|
else
|
|
|
|
$(LISP) \
|
|
|
|
--eval '(ql:quickload :flora-search-aurora)' \
|
|
|
|
--eval '(flora-search-aurora:main)'
|
|
|
|
endif
|