summaryrefslogtreecommitdiff
path: root/tools/mid2agb/Makefile
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-09-15 15:49:31 -0500
committerDiegoisawesome <diego@domoreaweso.me>2018-09-15 15:49:31 -0500
commit3028fdc353447be5b36a5bee526ffe3ee696a62a (patch)
tree823a062f16b609b46dec6845555b32db7003326c /tools/mid2agb/Makefile
parent48586660fd1eeee2d038abfa64d7358278b36f4d (diff)
Update mid2agb source
Credit to @camthesaxman
Diffstat (limited to 'tools/mid2agb/Makefile')
-rw-r--r--tools/mid2agb/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/mid2agb/Makefile b/tools/mid2agb/Makefile
index 7fd5d5fc8..4dc2f123f 100644
--- a/tools/mid2agb/Makefile
+++ b/tools/mid2agb/Makefile
@@ -1,12 +1,15 @@
CXX := g++
-CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch -Werror
+CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch -Werror
SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp
HEADERS := agb.h error.h main.h midi.h tables.h
-.PHONY: clean
+.PHONY: all clean
+
+all: mid2agb
+ @:
mid2agb: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)