EQL5/my_app/make.lisp
2016-11-25 23:30:38 +01:00

26 lines
645 B
Common Lisp

#-eql5
(error "Please use the EQL5 executable (see README)")
(require :cmp)
(load "tr")
#+msvc
(setf c::*compile-in-constants* t)
(defparameter *lisp-files*
(list "my")
"All Lisp files of the application.")
(dolist (f *lisp-files*)
(let ((file (format nil "lisp/~A" f)))
(load file)
(compile-file file :system-p t)))
(c:build-static-library "my_lib"
:lisp-files (mapcar (lambda (file)
(format nil "lisp/~A.~A" file #+msvc "obj" #-msvc "o"))
*lisp-files*)
:init-name "ini_app")
(eql:qq)