summaryrefslogtreecommitdiff
path: root/tools/scaninc
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 21:24:08 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 21:24:08 -0500
commit5a5acfb0ada48c89d1e398dea3fd3ef701213b60 (patch)
treecb0cffa27cd49a42123cb77c5556cddd1a62e898 /tools/scaninc
parent32e566def07698121d5b2f56edb6867329326276 (diff)
[Round 3] 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: