snes-asm/Makefile

27 lines
427 B
Makefile
Raw Normal View History

2016-12-02 19:26:09 -08:00
#all: smc
all: tic_tac
2016-12-04 16:49:55 -08:00
BINPATH := /home/greg/code/wla-dx/binaries
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