From 0429b2e5bb2a2c4467518bf921bd900927e84205 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 21 Jan 2018 20:26:38 -0500 Subject: Fix Windows --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c91a4e2..b2f476a 100755 --- a/Makefile +++ b/Makefile @@ -11,7 +11,11 @@ LD := $(DEVKITARM)/bin/arm-none-eabi-ld OBJCOPY := $(DEVKITARM)/bin/arm-none-eabi-objcopy -LIB := -L tools/agbcc/lib -lc -lgcc +ifeq ($(OS),Windows_NT) + LIB := tools/agbcc/lib/libc.a tools/agbcc/lib/libgcc.a +else + LIB := -L tools/agbcc/lib -lc -lgcc +endif MD5 := md5sum -c -- cgit v1.2.3