all : koth run-mars %.so : %.scm csc -s $< -J run-mars : run-mars.scm mars.so parser.so visualizer.so csc run-mars.scm koth : koth.scm mars.so parser.so csc koth.scm clean : 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