diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-22 11:36:39 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-22 11:36:39 -0500 |
commit | 2e0a9ea081e6978ec723933c1fb4d5dc52a46296 (patch) | |
tree | f88c505812083d43b6f739047d8d8c970ee4b62d | |
parent | 9e8f33d6059fd499ed2a70dcdee4e5f3ca2ba279 (diff) |
Rearrange Makefile by content
-rw-r--r-- | Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -9,12 +9,7 @@ RGBFIX := rgbfix RGBGFX := rgbgfx RGBLINK := rgblink -.SUFFIXES: -.PHONY: all clean tools compare crystal crystal11 -.SECONDEXPANSION: -.PRECIOUS: -.SECONDARY: - +roms := pokecrystal.gbc pokecrystal11.gbc crystal_obj := \ audio.o \ @@ -35,7 +30,13 @@ lib/mobile/main.o 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 @@ -222,6 +223,8 @@ gfx/mobile/pichu_animated.2bpp: tools/gfx += --trim-whitespace gfx/unknown/unknown_egg.2bpp: rgbgfx += -h +### Catch-all graphics rules + %.bin: ; %.blk: ; |