DEPS = utf8 lowdown sxml-transforms clojurian symbol-utils scss srfi-1 srfi-13 srfi-14 ersatz SRC = main.scm LOCAL_MODULES = utils utils-git DIR_INSTALL ?= /usr/local/bin BIN = repo2html default: compile %: %.scm csc -O3 -static -strip $< # Note: things break if you use -O5 here. %.import.scm: %.scm csc -O3 -static -c -unit $* -emit-import-library $* $< $(DIR_INSTALL)/%: % install -Dm755 $< -D $@ compile: $(BIN) rm -f $<.link @ls -sh $< @echo "Finished compiling static binary $