6502-emu/Makefile
Rob McMullen 2d30a08daf Created CPU struct to allow multiple instances of running processors at the same time
* note: this is not multithreading; it simply allows a program to step through more than one CPU in the same process
2017-12-19 19:31:30 -08:00

18 lines
245 B
Makefile

CFLAGS = -Wall -Wpedantic -g -std=gnu99
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