summaryrefslogtreecommitdiff
path: root/GFX/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-09-12 20:35:55 +0000
committerIan C <ianc@noddybox.co.uk>2018-09-12 20:35:55 +0000
commit660548bae6b24e50a087fd7d6de81ea67801aa96 (patch)
tree4f10e449deb8cdf81203d4c079f241774c000c31 /GFX/Makefile
parent8212ca44e3b87ef79ffca0163fe8421d723675cb (diff)
Added makefile for GFX and added a library to import the graphics.
Diffstat (limited to 'GFX/Makefile')
-rw-r--r--GFX/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/GFX/Makefile b/GFX/Makefile
new file mode 100644
index 0000000..fa6a26d
--- /dev/null
+++ b/GFX/Makefile
@@ -0,0 +1,12 @@
+all: Tiles-4Col.dat Tiles-16Col.dat Sprites.dat palette.dat
+
+Tiles-4Col.dat: Tiles-4Col.png
+ snesgfx Tiles-4Col.png Tiles-4Col.dat
+
+palette.dat: Tiles-16Col.dat
+
+Tiles-16Col.dat: Tiles-16Col.png
+ snesgfx -p palette.dat -c 16 Tiles-16Col.png Tiles-16Col.dat
+
+Sprites.dat: Sprites.png
+ snesgfx -c 16 Sprites.png Sprites.dat