Makefile 491 B

12345678910111213141516171819
  1. OBJS = header.ips reset.o65 main.o65 font.o65 palette.o65 data.o65 const.o65 logo.o65 logospr.o65 text.o65 dma.o65 menu.o65 pad.o65 time.o65 mainmenu.o65 # gfx.o65 # vars.o65
  2. all: menu.bin
  3. smc: menu.bin
  4. cat menu.bin sd2snes.rom > $@
  5. menu.bin: $(OBJS)
  6. sneslink -fsmc -o $@ $^
  7. # Generic rule to create .o65 out from .a65
  8. %.o65: %.a65
  9. snescom -J -Wall -o $@ $<
  10. # Generic rule to create .ips out from .a65
  11. %.ips: %.a65
  12. snescom -I -J -Wall -o $@ $<
  13. clean:
  14. rm -f *.ips *.o65 *~ menu.bin