summaryrefslogtreecommitdiff
path: root/tools/scaninc
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2017-05-22 20:04:02 -0400
committerGitHub <noreply@github.com>2017-05-22 20:04:02 -0400
commit587603e40488511e8c090c0b551b538f6d264b7e (patch)
treecf9cb7084dfbc52deffd261b7ccd24c3a75d284f /tools/scaninc
parentea181bea7652e6ea28705302ce7e85998e248986 (diff)
parentcb975fbf00519c90c05c0dfaaf3f7a22ad8449ab (diff)
Merge pull request #3 from PikalaxALT/field_map_obj
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