summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-01-21 19:16:15 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-01-21 19:16:15 -0500
commit19864d3cd93e57880da1430489c365907fb0a7a3 (patch)
treec37556150d829713763cb570d01aae4f0e3ae8c8
parent89bbecd34bf50a1c0be15746097d797b09356273 (diff)
Fix for windows
-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