diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-12-31 18:08:37 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-12-31 18:08:37 -0500 |
commit | cae3af3e3a3ae66201d7c30185f76ade69067308 (patch) | |
tree | 981b4727424543c1147a1a092f31eaeaa2207ef7 | |
parent | 742df4fdb5cbc4ad3c48a9de291a32d1b0c0c9c6 (diff) |
Keep the most relevant data at the top of the Makefile (the built filenames)
-rw-r--r-- | Makefile | 29 |
1 files changed, 16 insertions, 13 deletions
@@ -1,15 +1,3 @@ -ifeq (,$(shell which sha1sum)) -SHA1 := shasum -else -SHA1 := sha1sum -endif - -RGBDS ?= -RGBASM ?= $(RGBDS)rgbasm -RGBFIX ?= $(RGBDS)rgbfix -RGBGFX ?= $(RGBDS)rgbgfx -RGBLINK ?= $(RGBDS)rgblink - roms := pokecrystal.gbc pokecrystal11.gbc crystal_obj := \ @@ -31,10 +19,25 @@ lib/mobile/main.o crystal11_obj := $(crystal_obj:.o=11.o) +### Build tools + +ifeq (,$(shell which sha1sum)) +SHA1 := shasum +else +SHA1 := sha1sum +endif + +RGBDS ?= +RGBASM ?= $(RGBDS)rgbasm +RGBFIX ?= $(RGBDS)rgbfix +RGBGFX ?= $(RGBDS)rgbgfx +RGBLINK ?= $(RGBDS)rgblink + + ### Build targets .SUFFIXES: -.PHONY: all crystal crystal11 clean compare tools tidy +.PHONY: all crystal crystal11 clean tidy compare tools .SECONDEXPANSION: .PRECIOUS: .SECONDARY: |