mirror of
https://github.com/DavidBuchanan314/6502-emu.git
synced 2024-12-26 13:31:02 +00:00
c5e9cf084e
* changed debug print to match a validation run found on nesdev.com
18 lines
246 B
Makefile
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
|