6502-emu/Makefile
2017-01-03 22:02:00 +00:00

18 lines
249 B
Makefile

CFLAGS = -Wall -Wpedantic -Ofast -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