diff --git a/Makefile b/Makefile index 08834e479..e213bf63c 100644 --- a/Makefile +++ b/Makefile @@ -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: