summaryrefslogtreecommitdiff
path: root/tools/scaninc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-05-21 12:17:01 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-05-21 12:17:01 -0400
commit2ef0ea3098d09d20ea8fb4140e78e6e5717e0ac7 (patch)
tree085ea1e53b2a70996728ed08aad0566da69f0f52 /tools/scaninc
parenta8314b86903e5168e017345a4a0d1a5e9ec480aa (diff)
parentbfe02a627f9f49a94f90835d4284ab89d4e5a6f9 (diff)
Merge branch 'master' of github.com:pret/pokeruby into field_map_obj
Diffstat (limited to 'tools/scaninc')
-rw-r--r--tools/scaninc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/scaninc/Makefile b/tools/scaninc/Makefile
index 71c4389ef..d33dee6d2 100644
--- a/tools/scaninc/Makefile
+++ b/tools/scaninc/Makefile
@@ -1,6 +1,6 @@
CXX = g++
-CXXFLAGS = -Wall -std=c++11 -O2
+CXXFLAGS = -Wall -std=c++11 -O2 -s
SRCS = scaninc.cpp c_file.cpp asm_file.cpp
@@ -9,7 +9,7 @@ HEADERS := scaninc.h asm_file.h c_file.h
.PHONY: clean
scaninc: $(SRCS) $(HEADERS)
- $(CXX) $(CXXFLAGS) $(SRCS) -o $@
+ $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) scaninc scaninc.exe