summaryrefslogtreecommitdiff
path: root/tools/scaninc/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-12-20 20:43:40 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-12-20 20:43:40 -0500
commitd141011e7fcc564625118e69649f965384cb5be7 (patch)
treedbd31192976088437d77473c3444bb8981369e94 /tools/scaninc/Makefile
parent7f5addc626584ab24c8da1760d64ef3b8e5c24b7 (diff)
Track tools
Diffstat (limited to 'tools/scaninc/Makefile')
-rw-r--r--tools/scaninc/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/scaninc/Makefile b/tools/scaninc/Makefile
new file mode 100644
index 000000000..367a3350b
--- /dev/null
+++ b/tools/scaninc/Makefile
@@ -0,0 +1,15 @@
+CXX = g++
+
+CXXFLAGS = -Wall -Werror -std=c++11 -O2
+
+SRCS = scaninc.cpp c_file.cpp asm_file.cpp
+
+HEADERS := scaninc.h asm_file.h c_file.h
+
+.PHONY: clean
+
+scaninc: $(SRCS) $(HEADERS)
+ $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+
+clean:
+ $(RM) scaninc scaninc.exe