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.
 
 
 
 
 

28 line
512 B

  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/full/*.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/full/roms.tar.gz asm/full/*.gg
  17. asm-unarchive:
  18. tar -xf asm/full/roms.tar.gz