Initial import; example script to build irclog standalone executable
authorMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 22 Jan 2011 10:38:37 +0000 (10:38 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 22 Jan 2011 10:38:37 +0000 (10:38 +0000)
mmsoftware/cl/test/irclog-build.sh [new file with mode: 0755]

diff --git a/mmsoftware/cl/test/irclog-build.sh b/mmsoftware/cl/test/irclog-build.sh
new file mode 100755 (executable)
index 0000000..b8c23e4
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+# $Id: irclog-build.sh,v 1.1 2011/01/22 10:38:37 mmondor Exp $
+# Builds the irclog binary.
+
+/usr/local/ecl/bin/ecl << "EOF"
+
+(pushnew :mm-ecl-standalone *features*)
+(declaim (optimize (speed 0) (safety 3) (debug 3)))
+(compile-file "/home/mmondor/work/mmsoftware/cl/test/irclog.lisp" :output-file "/tmp/irclog.o" :system-p t)
+(c::build-program "/tmp/irclog" :lisp-files '("/tmp/irclog.o"))
+(ext:quit)
+
+EOF
+
+echo
+echo "/tmp/irclog target built."