mirror of
https://github.com/DavidBuchanan314/6502-emu.git
synced 2024-12-26 13:31:02 +00:00
18 lines
249 B
Makefile
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
|