NES emulator in progress
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
nesem/Makefile

17 lines
276 B

CC = cc
CFLAGS = -static -Ofast
CDEBUGFLAGS = -g -DDEBUG -static
RM = rm -rf
OUTFILE = nesem
default: all
all:
$(CC) $(CFLAGS) bus.c cpu.c cartridge.c ppu.c -o $(OUTFILE)
clean:
$(RM) $(OUTFILE)
debug:
$(CC) $(CDEBUGFLAGS) bus.c cpu.c ppu.c cartridge.c -o $(OUTFILE)