ref: 2e0a9ea081e6978ec723933c1fb4d5dc52a46296
parent: 9e8f33d6059fd499ed2a70dcdee4e5f3ca2ba279
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Mon Jan 22 06:36:39 EST 2018
Rearrange Makefile by content
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,8 @@
RGBGFX := rgbgfx
RGBLINK := rgblink
-.SUFFIXES:
-.PHONY: all clean tools compare crystal crystal11
-.SECONDEXPANSION:
-.PRECIOUS:
-.SECONDARY:
+roms := pokecrystal.gbc pokecrystal11.gbc
-
crystal_obj := \
audio.o \
home.o \
@@ -35,8 +30,14 @@
crystal11_obj := $(crystal_obj:.o=11.o)
-roms := pokecrystal.gbc pokecrystal11.gbc
+### Build targets
+.SUFFIXES:
+.PHONY: all crystal crystal11 clean compare tools
+.SECONDEXPANSION:
+.PRECIOUS:
+.SECONDARY:
+
all: crystal
crystal: pokecrystal.gbc
crystal11: pokecrystal11.gbc
@@ -221,6 +222,8 @@
gfx/unknown/unknown_egg.2bpp: rgbgfx += -h
+
+### Catch-all graphics rules
%.bin: ;
%.blk: ;