tb1/tb_snes/Makefile

23 lines
503 B
Makefile
Raw Normal View History

AS=cl65
LD=ld65
all: tb1_snes.sfc
2013-01-16 21:32:28 +00:00
tb1_snes.sfc: tb1_snes.o snes-hirom.cfg
$(LD) -o tb1_snes.sfc --config snes-hirom.cfg --obj tb1_snes.o
2013-01-16 21:32:28 +00:00
tb1_snes.o: tb1_snes.s snes_init.s \
tb1_title.tiles
$(AS) -t none -o tb1_snes.o -l tb1_snes.lst -c tb1_snes.s
2013-01-16 21:32:28 +00:00
tb1_title.tiles: graphics/tb1_title.pcx ./tools/pcx_to_tiles_8bpp
./tools/pcx_to_tiles_8bpp < graphics/tb1_title.pcx > tb1_title.tiles
2013-01-16 21:32:28 +00:00
tools/pcx_to_tiles_8bpp:
cd tools && make
clean:
2013-01-16 21:40:38 +00:00
rm -f *~ *.o *.lst *.sfc *.tiles
2013-01-16 21:32:28 +00:00
cd tools && make clean