build changes, to account for differing sbcl paths
return to building with make. call sbcl without hard path, so the normal shell expansion finds the appropriate exec for your host.
This commit is contained in:
parent
77a23248f5
commit
ce6e5dd088
14
Makefile
14
Makefile
|
|
@ -4,13 +4,9 @@ PACKAGEUTILS=asteroid.app-utils
|
|||
OUT=asteroid
|
||||
ENTRY=-main
|
||||
|
||||
$(OUT): buildapp *.lisp quicklisp-manifest.txt
|
||||
./buildapp --manifest-file quicklisp-manifest.txt \
|
||||
--load-system asdf \
|
||||
--eval '(push "$(ROOT_DIR)/" asdf:*central-registry*)' \
|
||||
--load-system $(PACKAGE) \
|
||||
--eval '($(PACKAGEUTILS)::internal-disable-debugger)' \
|
||||
--output $(OUT) --entry $(PACKAGE):$(ENTRY)
|
||||
.PHONY: $(OUT)
|
||||
$(OUT): *.lisp
|
||||
sbcl --load build-executable.lisp
|
||||
|
||||
quicklisp-manifest.txt: *.asd
|
||||
sbcl --non-interactive \
|
||||
|
|
@ -18,8 +14,8 @@ quicklisp-manifest.txt: *.asd
|
|||
--eval '(ql:quickload "$(PACKAGE)")'\
|
||||
--eval '(ql:write-asdf-manifest-file "quicklisp-manifest.txt")'
|
||||
|
||||
buildapp:
|
||||
sbcl --eval '(ql:quickload "buildapp")' --eval '(buildapp:build-buildapp)' --non-interactive
|
||||
# buildapp:
|
||||
# sbcl --eval '(ql:quickload "buildapp")' --eval '(buildapp:build-buildapp)' --non-interactive
|
||||
|
||||
clean:
|
||||
rm -f *.fasl $(OUT) buildapp quicklisp-manifest.txt
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/sbcl --script
|
||||
;; #!/usr/local/bin/sbcl --script
|
||||
;; -*-lisp-*-
|
||||
|
||||
;; we require quicklisp to load our transitive dependencies.
|
||||
(load "~/quicklisp/setup.lisp")
|
||||
|
||||
;; Build script for creating asteroid executable using save-lisp-and-die
|
||||
|
|
|
|||
Loading…
Reference in New Issue