summaryrefslogtreecommitdiff
path: root/tools/scaninc/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-07-29 09:01:55 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-07-29 09:01:55 -0400
commit3e27227b83c2c602237f016f04f2c5fa1e31de87 (patch)
tree4bce050a1fc6c364f937c33dcf58daf283a241d1 /tools/scaninc/Makefile
parent7d02658bfce6a57a5f845f44cbda412b9777113a (diff)
Add sources and compilation guide
Diffstat (limited to 'tools/scaninc/Makefile')
-rw-r--r--tools/scaninc/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/scaninc/Makefile b/tools/scaninc/Makefile
new file mode 100644
index 0000000..1516f15
--- /dev/null
+++ b/tools/scaninc/Makefile
@@ -0,0 +1,18 @@
+CXX = g++
+
+CXXFLAGS = -Wall -Werror -std=c++11 -O2
+
+SRCS = scaninc.cpp c_file.cpp asm_file.cpp source_file.cpp
+
+HEADERS := scaninc.h asm_file.h c_file.h source_file.h
+
+.PHONY: all clean
+
+all: scaninc
+ @:
+
+scaninc: $(SRCS) $(HEADERS)
+ $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+
+clean:
+ $(RM) scaninc scaninc.exe