summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 37344066e..c38d8fe76 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,11 @@ LDFLAGS = -Map ../../$(MAP)
OBJCOPY := $(DEVKITARM)/bin/arm-none-eabi-objcopy
-LIB := -L ../../tools/agbcc/lib -lgcc -lc
+ifeq ($(OS),Windows_NT)
+ LIB := ../../tools/agbcc/lib/libgcc.a ../../tools/agbcc/lib/libc.a
+else
+ LIB := -L ../../tools/agbcc/lib -lgcc -lc
+endif
SHA1 := sha1sum -c