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.
This commit is contained in:
yenatch 2015-09-01 00:19:28 -04:00
parent b74abd7c21
commit b8da3874bb
2 changed files with 9 additions and 1 deletions

View File

@ -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
```

View File

@ -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 $<