We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3b3d8 commit b2bcc90Copy full SHA for b2bcc90
src/make-binary.lisp
@@ -1,14 +1,10 @@
1
;; using this to make linux binary. Before that, we have to configure asdf
2
;; correctly, so that ASD files can be found.
3
4
-#+win32
5
-(setq asdf:*central-registry*
6
- (append asdf:*central-registry*
7
- '("Z:\\home\\xzpeter\\git-repo\\starwar\\"
8
- "Z:\\home\\xzpeter\\git-repo\\starwar\\lib\\")))
+(in-package :starwar)
9
10
-(require "starwar")
11
-(sb-ext:save-lisp-and-die #+unix "starwar-linux"
12
- #+win32 "starwar-win32.exe"
13
- :toplevel #'org.xzpeter.game.starwar:main
14
- :executable t)
+(defun make-binary ()
+ (sb-ext:save-lisp-and-die #+unix "starwar-linux"
+ #+win32 "starwar-win32.exe"
+ :toplevel #'starwar:main
+ :executable t))
0 commit comments