summaryrefslogtreecommitdiff
path: root/tools/scaninc
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:29:02 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:29:02 -0500
commitcc5db41f30708c1cc2d33a46879c96a9404764a3 (patch)
treed59ba2fd880b8eb47ab7e1a5885d067b028598ff /tools/scaninc
parentaad94c34334ee44f1298175df38f14dc27ae5fb8 (diff)
Revert multiple source change commits for rebase.
Diffstat (limited to 'tools/scaninc')
-rw-r--r--tools/scaninc/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/scaninc/Makefile b/tools/scaninc/Makefile
index 96d92f706..52e663d8d 100644
--- a/tools/scaninc/Makefile
+++ b/tools/scaninc/Makefile
@@ -8,16 +8,10 @@ HEADERS := scaninc.h asm_file.h c_file.h source_file.h
.PHONY: all clean
-ifeq ($(OS),Windows_NT)
-EXE := .exe
-else
-EXE :=
-endif
-
-all: scaninc$(EXE)
+all: scaninc
@:
-scaninc$(EXE): $(SRCS) $(HEADERS)
+scaninc: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean: