From b8da3874bbc06e858b7b2d7a602fe33baa046e93 Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 1 Sep 2015 00:19:28 -0400 Subject: [PATCH] Add an `init` makefile target to prevent data that can't be reasonably reproduced from being rebuilt. This is only meant to be run once. --- INSTALL.md | 5 ++++- Makefile | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 26e18ffe8..00b5e6e58 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -12,6 +12,7 @@ Note that this requires python2.7 for the moment. git clone --recursive git://github.com/kanzure/pokecrystal.git easy_install pypng cd pokecrystal + make init To build **pokecrystal.gbc**: @@ -36,6 +37,7 @@ In the shell, run: git clone --recursive git://github.com/kanzure/pokecrystal.git easy_install pypng cd pokecrystal + make init To build **pokecrystal.gbc**: @@ -56,6 +58,7 @@ In the **Cygwin terminal**: git clone --recursive git://github.com/kanzure/pokecrystal.git easy_install pypng cd pokecrystal + make init To build: @@ -77,7 +80,7 @@ VirtualBox. Follow these steps: cd vagrantbox vagrant init pokecrystal vagrant up - vagrant ssh -c "cd /vagrant && git clone --recursive git://github.com/kanzure/pokecrystal.git" + vagrant ssh -c "cd /vagrant && git clone --recursive git://github.com/kanzure/pokecrystal.git && cd pokecrystal && make init" vagrant ssh ``` diff --git a/Makefile b/Makefile index e791e3491..27a8372a8 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,11 @@ pngs: find . -iname "*.[12]bpp" -exec touch {} \; find . -iname "*.lz" -exec touch {} \; +init: + find . -iname "*.[12]bpp" -exec touch {} \; + find . -iname "*.lz" -exec touch {} \; + + %.2bpp: %.png ; $(gfx) 2bpp $< %.1bpp: %.png ; $(gfx) 1bpp $< %.lz: % ; $(gfx) lz $<