summaryrefslogtreecommitdiff
path: root/tools/mid2agb
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-05-29 10:29:15 -0400
committerGitHub <noreply@github.com>2021-05-29 10:29:15 -0400
commit823c862e4fd768e0622afcb26da1b28e4806a3d8 (patch)
treeb7834a4b1aad6a7cc298b7b6d4d242a7cfe36126 /tools/mid2agb
parentc9c558606899f898c7b14ad4a35f19ce2831d66a (diff)
parentc5b262159d204c63ae0452d5989cb7ecbe12476d (diff)
Merge pull request #1274 from luckytyphlosion/master
Improve INSTALL.md
Diffstat (limited to 'tools/mid2agb')
-rw-r--r--tools/mid2agb/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/mid2agb/Makefile b/tools/mid2agb/Makefile
index 451d4b39f..553b7859e 100644
--- a/tools/mid2agb/Makefile
+++ b/tools/mid2agb/Makefile
@@ -6,12 +6,18 @@ SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp
HEADERS := agb.h error.h main.h midi.h tables.h
+ifeq ($(OS),Windows_NT)
+EXE := .exe
+else
+EXE :=
+endif
+
.PHONY: all clean
-all: mid2agb
+all: mid2agb$(EXE)
@:
-mid2agb: $(SRCS) $(HEADERS)
+mid2agb$(EXE): $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean: