summaryrefslogtreecommitdiff
path: root/tools/mid2agb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mid2agb/Makefile')
-rw-r--r--tools/mid2agb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mid2agb/Makefile b/tools/mid2agb/Makefile
index 3215169d3..accd81882 100644
--- a/tools/mid2agb/Makefile
+++ b/tools/mid2agb/Makefile
@@ -1,6 +1,6 @@
CXX := g++
-CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch
+CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch
SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp
@@ -9,7 +9,7 @@ HEADERS := agb.h error.h main.h midi.h tables.h
.PHONY: clean
mid2agb: $(SRCS) $(HEADERS)
- $(CXX) $(CXXFLAGS) $(SRCS) -o $@
+ $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) mid2agb mid2agb.exe