summaryrefslogtreecommitdiff
path: root/tools/jsonproc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jsonproc')
-rwxr-xr-xtools/jsonproc/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile
index eec73eb7b..47198b171 100755
--- a/tools/jsonproc/Makefile
+++ b/tools/jsonproc/Makefile
@@ -8,18 +8,12 @@ SRCS := jsonproc.cpp
HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp
-ifeq ($(OS),Windows_NT)
-EXE := .exe
-else
-EXE :=
-endif
-
.PHONY: all clean
-all: jsonproc$(EXE)
+all: jsonproc
@:
-jsonproc$(EXE): $(SRCS) $(HEADERS)
+jsonproc: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS)
clean: