diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-12-16 15:10:01 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-12-16 15:10:01 -0500 |
commit | 936ba7f1bf492a805596716660cd751e35fc74cd (patch) | |
tree | 335567b37e532c375b8d8b7cd446c79aee96fb24 /tools/preproc | |
parent | 34fc9789c9d11464161aabf022eb270597c6778a (diff) |
Apply all source related changes for the new INSTALL.md in one commit.
For people who want to have dkPless builds in their repo.
Diffstat (limited to 'tools/preproc')
-rw-r--r-- | tools/preproc/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/preproc/Makefile b/tools/preproc/Makefile index 8c48afea2..1507c973f 100644 --- a/tools/preproc/Makefile +++ b/tools/preproc/Makefile @@ -8,12 +8,18 @@ SRCS := asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp \ HEADERS := asm_file.h c_file.h char_util.h charmap.h preproc.h string_parser.h \ utf8.h +ifeq ($(OS),Windows_NT) +EXE := .exe +else +EXE := +endif + .PHONY: all clean -all: preproc +all: preproc$(EXE) @: -preproc: $(SRCS) $(HEADERS) +preproc$(EXE): $(SRCS) $(HEADERS) $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) clean: |