summaryrefslogtreecommitdiff
path: root/tools/gbafix
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 20:31:56 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 20:31:56 -0500
commit166183d5ed73059922b9679b832b591dd6fa073b (patch)
tree9a5de6994d9b9f89833799ffc2ed293a9f43722d /tools/gbafix
parent345aab63cf2550646a6a56c2c8fe8473d5bf996a (diff)
[Round 2] Apply all source related changes for the new INSTALL.md in one commit.
Diffstat (limited to 'tools/gbafix')
-rw-r--r--tools/gbafix/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/gbafix/Makefile b/tools/gbafix/Makefile
index 91a60a9e4..efb016c97 100644
--- a/tools/gbafix/Makefile
+++ b/tools/gbafix/Makefile
@@ -3,10 +3,16 @@ CC ?= gcc
SRCS = gbafix.c
-all: gbafix
+ifeq ($(OS),Windows_NT)
+EXE := .exe
+else
+EXE :=
+endif
+
+all: gbafix$(EXE)
@:
-gbafix: $(SRCS)
+gbafix$(EXE): $(SRCS)
$(CC) $(SRCS) -o $@ $(LDFLAGS)
clean: