X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=jars.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=33627ed311da233f2795dc43d84cb2aa942f31b4;hp=3a8ff850902bf5c977e81ceb1503549e65e2e142;hb=8b5aa0aa1fc31e0e485ada53ce1f54d73593e014;hpb=323133738cd5a0cca60bf633d4d78eefbcddbb99 diff --git a/Makefile b/Makefile index 3a8ff85..33627ed 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,13 @@ koth : koth.scm mars.so parser.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