6502-emu/Makefile

18 lines
249 B
Makefile
Raw Normal View History

2017-01-03 22:02:00 +00:00
CFLAGS = -Wall -Wpedantic -Ofast -std=gnu99
LDFLAGS = -Ofast
2017-01-03 19:39:48 +00:00
OBJ := 6502-emu.o 6502.o 6850.o
2017-01-03 19:39:48 +00:00
all: 6502-emu
2017-01-03 19:39:48 +00:00
debug: CFLAGS += -DDEBUG
debug: 6502-emu
2017-01-03 19:39:48 +00:00
6502-emu: $(OBJ)
2017-01-03 19:39:48 +00:00
clean:
$(RM) 6502-emu $(OBJ)
2017-01-03 19:39:48 +00:00
test: 6502-emu
./6502-emu examples/ehbasic.rom