SFILES := $(shell find src -type f -name '*.s')
|
|
OFILES := $(SFILES:%.s=%.o)
|
|
OUTPUT := is.gb
|
|
|
|
$(OUTPUT): $(OFILES)
|
|
rgblink -o $@ -n $@.sym $(OFILES)
|
|
rgbfix -v $@
|
|
|
|
%.o: %.s
|
|
rgbasm -o $@ $<
|