NESe (pronounced "Nessie") is a NES emulator based on the e6502 emulator, also written in C with a focus on speed and portability for use on embedded platforms, especially ARM.
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.

21 line
373B

  1. #CROSS_COMPILE = arm-none-eabi-
  2. CC = $(CROSS_COMPILE)gcc
  3. LD = $(CC)
  4. #CFLAGS = -mcpu=cortex-m33 -mthumb
  5. CFLAGS += -Wall -Werror -Wshadow
  6. CFLAGS += -g -Ofast
  7. CFLAGS += -DF6502_FLAT
  8. CFLAGS += -DF6502_TEST
  9. CFLAGS += -DF6502_HCF
  10. #CFLAGS += -DF6502_TRACE
  11. OBJS = src/f6502.o src/f6502_opcodes.o test.o
  12. all: test
  13. test: $(OBJS)
  14. $(LD) $(LDFLAGS) -o $@ $^
  15. clean:
  16. rm -rf $(OBJS)