Makefile can use multiple interpreter and we are ecl compliant now - cl-yag - C… | |
git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit f837cf5d08134bf5e665f7b9263b2fe619f4da08 | |
parent b0cd4f627992889230b31f3b414d0cbd16099610 | |
Author: solene rapenne <[email protected]> | |
Date: Fri, 13 May 2016 15:16:31 +0200 | |
Makefile can use multiple interpreter and we are ecl compliant now | |
Diffstat: | |
M Makefile | 13 ++++++++++++- | |
M generator.lisp | 1 - | |
2 files changed, 12 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -1,7 +1,18 @@ | |
+LISP=ecl | |
+PARAM="" | |
+ | |
+.if "${LISP}" == "sbcl" | |
+PARAM=--dynamic-space-size 60 --script | |
+.elif "${LISP}" == "clisp" | |
+PARAM= | |
+.elif "${LISP}" == "ecl" | |
+PARAM=-shell | |
+.endif | |
+ | |
all: | |
mkdir -p output/static | |
cp -fr static/* output/static/ | |
- sbcl --dynamic-space-size 60 --script generator.lisp | |
+ $(LISP) $(PARAM) generator.lisp | |
clean: | |
rm -fr output/* | |
diff --git a/generator.lisp b/generator.lisp | |
@@ -172,4 +172,3 @@ | |
) | |
(generate-site) | |
-(exit) |