1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-25 18:33:11 +00:00
8bitworkshop/presets/nes/Makefile

15 lines
420 B
Makefile
Raw Normal View History

2019-03-14 15:20:50 +00:00
CC65LIB=../../src/worker/lib/nes/
NESLIB=$(HOME)/compilers/cc65/neslib/
shoot2: shoot2.c neslib.h
cl65 -tnes -O -o $@ -l $@.lst vrambuf.c bcd.c apu.c shoot2.c -lnes -lneslib $(CC65LIB)/crt0.o -L$(CC65LIB) -C$(NESLIB)/nes.cfg\
-Wl -DNES_MIRRORING=1 -Wl -DNES_PRG_BANKS=2 -Wl -DNES_CHR_BANKS=0 -Wl -DNES_MAPPER=2
conio: conio.c
cl65 -l conio.lst -tnes -O $<
test.rom: ex2.asm nesdefs.asm nesppu.asm
dasm ex2.asm
2019-03-14 15:20:50 +00:00