Script to generate a binary with ecl - 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 a107380cbc6130a368131accda9fb69b3fba4c5f
(DIR) parent b9e1ff0dd2d9983d2cfbf28f805ef0603076bb9d
(HTM) Author: Solene Rapenne <solene@perso.pw>
Date: Fri, 3 Nov 2017 14:09:07 +0000
Script to generate a binary with ecl
Diffstat:
A make-binary.lisp | 12 ++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/make-binary.lisp b/make-binary.lisp
@@ -0,0 +1,12 @@
+(require 'cmp)
+(require 'sockets)
+
+(loop for file in '("clic" "clic.o")
+ do (and (probe-file file) (delete-file file)))
+
+(compile-file "clic.lisp" :system-p t)
+(c:build-program "clic" :lisp-files '("clic.o"))
+(delete-file "clic.o")
+
+(format t "INFO => Compilation done (or at least it should)~%")
+(quit)