fix path handling in png make target

lz files were being decompressed to the top directory (gfx/)
This commit is contained in:
yenatch
2013-03-18 16:36:30 -04:00
parent bcf9eadadf
commit b570c4d6e6
2 changed files with 21 additions and 21 deletions

View File

@@ -44,15 +44,15 @@ pokecrystal.gbc: pokecrystal.o
lzs: ${VERTGFX} ${HORIZGFX}
pngs:
cd extras; python gfx.py mass-decompress; python gfx.py dump-pngs
cd extras && python gfx.py mass-decompress && python gfx.py dump-pngs
front.png: tiles.png
cd extras; python gfx.py png-to-lz --front $@ $(OBJECT_DIRECTORY)/tiles.2bpp
cd extras && python gfx.py png-to-lz --front $@ $(OBJECT_DIRECTORY)/tiles.2bpp
tiles.png:
cd extras; python gfx.py png-to-2bpp $@
cd extras && python gfx.py png-to-2bpp $@
.png: ${VERTGFX}
cd extras; python gfx.py png-to-lz --vert $@
cd extras && python gfx.py png-to-lz --vert $@
.png: ${HORIZGFX}
cd extras; python gfx.py png-to-lz $@
cd extras && python gfx.py png-to-lz $@