X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=jars.git;a=blobdiff_plain;f=Makefile;h=d0bc8af7178a6d1fe64af74990e12f9ad436270e;hp=3a8ff850902bf5c977e81ceb1503549e65e2e142;hb=d040fca6113681ee54370453c42c52ae1f2a9064;hpb=b6d6c8632eadb09da87707a3e911d9d59c1779e4 diff --git a/Makefile b/Makefile index 3a8ff85..d0bc8af 100644 --- a/Makefile +++ b/Makefile @@ -10,4 +10,14 @@ koth : koth.scm mars.so parser.so csc koth.scm clean : - rm koth run-mars *.so + rm -f koth run-mars *.so *.link *.import.scm *.o + +# 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