diff options
Diffstat (limited to 'tools/scaninc/Makefile')
-rw-r--r-- | tools/scaninc/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/scaninc/Makefile b/tools/scaninc/Makefile new file mode 100644 index 0000000..53c9d00 --- /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 source_file.cpp + +HEADERS := scaninc.h asm_file.h c_file.h source_file.h + +.PHONY: clean + +scaninc: $(SRCS) $(HEADERS) + $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) + +clean: + $(RM) scaninc scaninc.exe |