diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2019-08-15 16:42:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-15 16:42:37 -0500 |
commit | e751d33afb9410d63fc7b5c8da211a8d62eaeb21 (patch) | |
tree | 016da807f9f85a9dad91c1b091295d5c68375701 /tools/preproc/Makefile | |
parent | a5d8669840e5cb411f03929118608cb79ee026ad (diff) | |
parent | f3bd844f5622fad017d1752734ab1e128006ea7b (diff) |
Merge pull request #16 from PikalaxALT/master
Update binaries again; add build and install scripts
Diffstat (limited to 'tools/preproc/Makefile')
-rw-r--r-- | tools/preproc/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/preproc/Makefile b/tools/preproc/Makefile new file mode 100644 index 0000000..63dedda --- /dev/null +++ b/tools/preproc/Makefile @@ -0,0 +1,20 @@ +CXX := g++ + +CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch -Werror + +SRCS := asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp \ + utf8.cpp + +HEADERS := asm_file.h c_file.h char_util.h charmap.h preproc.h string_parser.h \ + utf8.h + +.PHONY: all clean + +all: preproc + @: + +preproc: $(SRCS) $(HEADERS) + $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) + +clean: + $(RM) preproc preproc.exe |