summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-09-01 00:19:28 -0400
committeryenatch <yenatch@gmail.com>2015-09-01 00:20:31 -0400
commitb8da3874bbc06e858b7b2d7a602fe33baa046e93 (patch)
tree0c0f5d99467b0bb4ca42739568d08ed17fe9dac2
parentb74abd7c21c3735a8010e5a9c6022936d9cd18b2 (diff)
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.
-rw-r--r--INSTALL.md5
-rw-r--r--Makefile5
2 files changed, 9 insertions, 1 deletions
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 $<