You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
189 B

3 years ago
  1. SFILES := $(shell find src -type f -name '*.s')
  2. OFILES := $(SFILES:%.s=%.o)
  3. OUTPUT := is.gb
  4. $(OUTPUT): $(OFILES)
  5. rgblink -o $@ -n $@.sym $(OFILES)
  6. rgbfix -v $@
  7. %.o: %.s
  8. rgbasm -o $@ $<