From 681ca68ac96e8d39f49eb2c9f42e5c1e1041f5e0 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Thu, 4 Nov 2021 21:07:26 +0000 Subject: Disassemble some more tables and the first graphic (#71) * Sync tools/ directory with pokeemerald We really ought to have a central repository for this mess * Make incremental builds faster Scientists hate him! He made NODEP disappear with this ONE SIMPLE TRICK!!! Want to know more? -> __click here__ <- * Disassemble some more tables and the first graphic --- tools/mapjson/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tools/mapjson/Makefile') diff --git a/tools/mapjson/Makefile b/tools/mapjson/Makefile index c1f703f..100e809 100644 --- a/tools/mapjson/Makefile +++ b/tools/mapjson/Makefile @@ -6,12 +6,18 @@ SRCS := json11.cpp mapjson.cpp HEADERS := mapjson.h +ifeq ($(OS),Windows_NT) +EXE := .exe +else +EXE := +endif + .PHONY: all clean -all: mapjson +all: mapjson$(EXE) @: -mapjson: $(SRCS) $(HEADERS) +mapjson$(EXE): $(SRCS) $(HEADERS) $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) clean: -- cgit v1.2.3