Let choose which LISP implementation to use for test, ecl by default - clic - Clic is an command line interactive client for gopher written in Common LISP
(HTM) git clone git://bitreich.org/clic/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/clic/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit cfb04c343f6fc8990d6d3f6d462b0c98353dbc3e
(DIR) parent 3294e0ddc70f60b1ce763c5880e0e8fe8fee1520
(HTM) Author: Solene Rapenne <solene@perso.pw>
Date: Fri, 3 Nov 2017 17:05:27 +0000
Let choose which LISP implementation to use for test, ecl by default
Diffstat:
M Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -2,6 +2,7 @@
# See the LICENSE file for copyright and license details.
NAME = clic
+LISP ?= ecl
PREFIX ?= /usr
BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/share/man/man1
@@ -11,6 +12,9 @@ all: bin
bin:
ecl --load make-binary.lisp
+sbcl-bin:
+ sbcl --load make-binary.lisp
+
install: all
@echo installing executable to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${BINDIR}
@@ -24,5 +28,7 @@ uninstall:
clean:
rm -f clic clic.o clic.eclh clic.cxx
-.PHONY: all install uninstall clean
+test:
+ ${LISP} --load clic.lisp --load test.lisp
+.PHONY: all install uninstall clean