vicinc/Makefile
Jeff Epler 4e6807c2d7 initial commit
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-18 12:17:21 -05:00

13 lines
243 B
Makefile

TOKENIZE=petcat -w2 -l 1001
.PHONY: all
all: game.prg
.PHONY: run
run: game.prg
xvic -autostart $<
%.bas: %.md
awk 'BEGIN {f=0} {of = f} /^~~~~/ { f = !f; } {if(f && of) print}' < $< | sort -n > $@
%.prg: %.bas
$(TOKENIZE) -o $@ -- $<