summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-03-18 16:36:30 -0400
committeryenatch <yenatch@gmail.com>2013-03-18 16:36:30 -0400
commitb570c4d6e660ffe36427a29ee34f87298b77bfda (patch)
tree43ea530efe8ffe6e4a74322bc258a39eb883ae41 /Makefile
parentbcf9eadadfba10e0904eb5c09190b338d5af7c9f (diff)
fix path handling in png make target
lz files were being decompressed to the top directory (gfx/)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5c7c0d246..3d917f941 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $@