snes-asm/Makefile

34 lines
588 B
Makefile
Raw Normal View History

2016-12-02 19:26:09 -08:00
#all: smc
all: test_gfx
2016-12-02 19:26:09 -08:00
2016-12-04 16:49:55 -08:00
BINPATH := /home/greg/code/wla-dx/binaries
2016-12-02 19:26:09 -08:00
test_gfx: test_gfx.obj
$(BINPATH)/wlalink -v -r test_gfx.link test_gfx.smc
test_gfx.obj: test_gfx.asm
$(BINPATH)/wla-65816 -v -o test_gfx.obj test_gfx.asm
2016-12-02 19:26:09 -08:00
tic_tac: tic_tac.obj
2016-12-04 16:49:55 -08:00
$(BINPATH)/wlalink -v -r tic_tac.link tic_tac.smc
2016-12-02 19:26:09 -08:00
tic_tac.obj: tic_tac.asm
2016-12-04 16:49:55 -08:00
$(BINPATH)/wla-65816 -v -o tic_tac.obj tic_tac.asm
2016-12-02 19:26:09 -08:00
greenspace.obj: greenspace.asm
wla-65816 -vo greenspace.asm greenspace.obj
smc: greenspace.obj
wlalink -vr greenspace.link greenspace.smc
clean:
2016-12-02 19:26:09 -08:00
rm -f *.obj
rm -f greenspace.smc
rm -f tic_tac.smc