snes-asm/Makefile

34 lines
588 B
Makefile

#all: smc
all: test_gfx
BINPATH := /home/greg/code/wla-dx/binaries
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
tic_tac: tic_tac.obj
$(BINPATH)/wlalink -v -r tic_tac.link tic_tac.smc
tic_tac.obj: tic_tac.asm
$(BINPATH)/wla-65816 -v -o tic_tac.obj tic_tac.asm
greenspace.obj: greenspace.asm
wla-65816 -vo greenspace.asm greenspace.obj
smc: greenspace.obj
wlalink -vr greenspace.link greenspace.smc
clean:
rm -f *.obj
rm -f greenspace.smc
rm -f tic_tac.smc