simple executable, only hello world

This commit is contained in:
2026-07-02 00:20:25 +03:00
parent 6f386fa9a6
commit 7609fcc6c8
5 changed files with 35 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
lspack
+4
View File
@@ -0,0 +1,4 @@
LISP ?= sbcl
all:
$(LISP) --load build.lisp
+14
View File
@@ -0,0 +1,14 @@
(require :asdf)
#+sb-core-compression
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
(uiop:dump-image (asdf:output-file o c)
:executable t
:compression t))
(asdf:load-asd "lspack.asd")
(asdf:load-system "lspack/exe")
(asdf:make "lspack/exe")
(quit)
+8
View File
@@ -10,3 +10,11 @@
(:file "util") (:file "util")
(:file "license") (:file "license")
(:file "starter"))) (:file "starter")))
(defsystem "lspack/exe"
:depends-on ("lspack")
:build-operation program-op
:build-pathname "lspack"
:entry-point "lspack/exe:main"
:components ((:file "src/main")))
+8
View File
@@ -0,0 +1,8 @@
(defpackage :lspack/exe
(:use :cl)
(:export #:main))
(in-package :lspack/exe)
(defun main ()
(format t "Hello World!"))