The Lambda Lab
/
projects
/
jars.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3231337
)
Added static compilation sequence to makefile.
author
plugd
<plugd@thelambdalab.xyz>
Fri, 8 May 2020 21:40:27 +0000
(23:40 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Fri, 8 May 2020 21:49:05 +0000
(23:49 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
3a8ff85
..
33627ed
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-11,3
+11,13
@@
koth : koth.scm mars.so parser.so
clean :
rm koth run-mars *.so
clean :
rm koth run-mars *.so
+
+# Cross-compile static executable
+koth_linux:
+ csc_linux -static -c mars.scm -unit mars -J
+ csc_linux -static -c parser.scm -unit parser -J
+ csc_linux -static -L -static koth.scm -link mars,parser
+
+# csc_linux -c mars.scm -unit mars -uses matchable -J
+# csc_linux -c parser.scm -unit parser -uses srfi-13 -J
+# csc_linux -static -L -static koth.scm -link mars,parser,matchable,srfi-13