summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMCboy <atasro2@gmail.com>2018-08-12 23:26:00 +0430
committerGitHub <noreply@github.com>2018-08-12 23:26:00 +0430
commit1bc93c5a66ebc7ec790e3cb17f246aee75dcc73c (patch)
treef6edf1981a206483d1691e5ac388055abfc64424 /Makefile
parent9e9ec8dc963c4786ac3af19102ebe690cb7785d5 (diff)
parent21060091d109a6ebc4d1d76b8487878bb91cd5e1 (diff)
Merge branch 'master' into player_field_avatar
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index eb15d11ab..9637d98a8 100644
--- a/Makefile
+++ b/Makefile
@@ -25,14 +25,13 @@ ASFLAGS := -mcpu=arm7tdmi
CC1 := tools/agbcc/bin/agbcc
override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O2 -fhex-asm
-CPPFLAGS := -I tools/agbcc/include -iquote include -nostdinc -undef
+CPPFLAGS := -I tools/agbcc/include -I tools/agbcc -iquote include -nostdinc -undef
LDFLAGS = -Map ../../$(MAP)
LIB := -L ../../tools/agbcc/lib -lgcc -lc
-SHA1 := sha1sum -c
-
+SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c
GFX := tools/gbagfx/gbagfx
AIF := tools/aif2pcm/aif2pcm
MID := $(abspath tools/mid2agb/mid2agb)