An emulator, assembler, and disassembler for the Sega Game Gear
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.

123456789101112131415161718192021222324252627
  1. # Copyright (C) 2014-2016 Ben Kurtovic <ben.kurtovic@gmail.com>
  2. # Released under the terms of the MIT License. See LICENSE for details.
  3. RUNNER = runner
  4. COMPONENTS = cpu vdp psg asm dis integrate
  5. .PHONY: all clean $(COMPONENTS)
  6. all: $(COMPONENTS)
  7. clean:
  8. $(RM) $(RUNNER)
  9. $(RM) asm/*.gg
  10. $(RUNNER): $(RUNNER).c
  11. $(CC) $(FLAGS) $< -o $@
  12. $(COMPONENTS): $(RUNNER)
  13. ./$(RUNNER) $@
  14. asm: asm-unarchive
  15. asm-archive:
  16. tar -czf asm/roms.tar.gz asm/*.gg
  17. asm-unarchive:
  18. tar -xf asm/roms.tar.gz