SOURCES=$(wildcard *.asm) all: plw_player.h plw_player.h: $(SOURCES) rasm player.asm -ob plw_player.bin bin2h.py plw_player.bin plw_player > plw_player.h .PHONY: clean all clean: rm -f *.bin plw_player.h