summaryrefslogtreecommitdiff
path: root/tools/mapjson
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mapjson')
-rw-r--r--tools/mapjson/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/mapjson/Makefile b/tools/mapjson/Makefile
index 100e809c6..c1f703f9f 100644
--- a/tools/mapjson/Makefile
+++ b/tools/mapjson/Makefile
@@ -6,18 +6,12 @@ SRCS := json11.cpp mapjson.cpp
HEADERS := mapjson.h
-ifeq ($(OS),Windows_NT)
-EXE := .exe
-else
-EXE :=
-endif
-
.PHONY: all clean
-all: mapjson$(EXE)
+all: mapjson
@:
-mapjson$(EXE): $(SRCS) $(HEADERS)
+mapjson: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean: