diff options
| author | YamaArashi <shadow962@live.com> | 2016-04-22 18:25:40 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2016-04-22 18:25:40 -0700 |
| commit | 0df6676bfccb1d68aa741997702d2a558110d322 (patch) | |
| tree | 440a7906ea6e75e17079ff1aed44900942b1e85a /tools/preproc/Makefile | |
| parent | 0601fb4d0013bd0f2508364b313acbdc371da674 (diff) | |
use preprocessor
Diffstat (limited to 'tools/preproc/Makefile')
| -rw-r--r-- | tools/preproc/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/preproc/Makefile b/tools/preproc/Makefile new file mode 100644 index 000000000..10f930ebd --- /dev/null +++ b/tools/preproc/Makefile @@ -0,0 +1,15 @@ +CXX := g++ + +CXXFLAGS := -std=c++14 -O2 + +SRCS := asm_file.cpp charmap.cpp preproc.cpp utf8.cpp + +HEADERS := asm_file.h char_util.h charmap.h preproc.h utf8.h + +.PHONY: clean + +preproc: $(SRCS) $(HEADERS) + $(CXX) $(CXXFLAGS) $(SRCS) -o $@ + +clean: + $(RM) preproc preproc.exe |
