eql5-sfos/make.lisp
2021-12-10 22:02:34 +01:00

22 lines
533 B
Common Lisp

#-eql5
(error "Please use the EQL5 executable")
(unless (member "norepl" (ext:command-args) :test #'string=)
(push :app-repl *features*))
(load "lisp/bundle.lisp")
(push "lisp/" asdf:*central-registry*)
(asdf:make-build "app"
:monolithic t
:type :static-library
:move-here "./"
:init-name "init_app")
(let ((lib-name "libapp.a"))
(when (probe-file lib-name)
(delete-file lib-name))
(rename-file (x:cc "app--all-systems" ".a") lib-name))
(eql:qquit)