summaryrefslogtreecommitdiff
path: root/tools/scaninc/Makefile
diff options
context:
space:
mode:
authorxenonnsmb <xenonnsmb@users.noreply.github.com>2017-12-03 19:55:01 -0600
committerxenonnsmb <xenonnsmb@users.noreply.github.com>2017-12-03 19:55:01 -0600
commite649e3d2481faef109006b9157eeb22e1bff9fe2 (patch)
tree3348ffb6bbe7358a4082059960ef6bea8cf7e636 /tools/scaninc/Makefile
parenteeaa59d8376045ddf008276e6c13c860f23eedaa (diff)
adding tools from pokeruby
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..3e1c031a8
--- /dev/null
+++ b/tools/scaninc/Makefile
@@ -0,0 +1,15 @@
+CXX = g++
+
+CXXFLAGS = -Wall -Werror -std=c++11 -O2 -s
+
+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