6502-emu/Makefile
Rob McMullen c5e9cf084e Added command line args to set initial machine state
* changed debug print to match a validation run found on nesdev.com
2017-12-18 09:15:02 -08:00

18 lines
246 B
Makefile

CFLAGS = -Wall -Wpedantic -std=gnu99 -g
#LDFLAGS = -Ofast
OBJ := 6502-emu.o 6502.o 6850.o
all: 6502-emu
debug: CFLAGS += -DDEBUG
debug: 6502-emu
6502-emu: $(OBJ)
clean:
$(RM) 6502-emu $(OBJ)
test: 6502-emu
./6502-emu examples/ehbasic.rom