summaryrefslogtreecommitdiff
path: root/tools/scaninc
diff options
context:
space:
mode:
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