summaryrefslogtreecommitdiff
path: root/tools/scaninc
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 20:31:10 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 20:31:10 -0500
commit345aab63cf2550646a6a56c2c8fe8473d5bf996a (patch)
treecb0cffa27cd49a42123cb77c5556cddd1a62e898 /tools/scaninc
parent11df2113d9c7ab9e09073a93db2bd467b664f678 (diff)
[Round 2] Revert multiple source change commits for re-commit.
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: