.PHONY: all dist RKT_VER=$(shell racket -e "(displayln (version))") all: @echo nothing to do... dist: mkdir -p dist raco exe -o meowbb main.rkt raco dist dist meowbb rm meowbb # why doesn't raco do this for us?? cp ~/.racket/$(RKT_VER)/lib/libracket_unix_signals.so dist/lib cp ~/.racket/$(RKT_VER)/lib/libtty_raw.so dist/lib ./mkhaskalimage.sh dist bin/meowbb meowbb