o tweak snes make file

This commit is contained in:
optixx
2009-03-29 18:58:55 +02:00
parent 04c6c64e12
commit 5ba84d7066
6 changed files with 22 additions and 11 deletions

View File

@@ -6,16 +6,20 @@ AS=wla-65816
LD=wlalink
OBJS=sprite.o
APP=sprite.smc
APP=sprite.raw
SWC=sprite.swc
GFX=biker.pic
EMU=/Applications/ZSNES.app/Contents/MacOS/ZSNES
all: clean $(APP)
all: clean $(APP) raw
run:
$(EMU) $(APP)
raw: $(APP)
dd if=$(APP) of=raw bs=512 skip=1
linkfile:
echo "[objects]" > linkerfile.prj
@@ -25,6 +29,6 @@ linkfile:
$(APP): linkfile $(GFX) $(OBJS) $(GFX)
$(LD) -vr linkerfile.prj $@
ucon64 $(APP) -swc $(SWC)
clean:
rm -vf $(APP) *.prj *.o
rm -vf $(SWC) $(APP) *.prj *.o