From 26019096ee8d0d83dbf4d53710f509123ae33f61 Mon Sep 17 00:00:00 2001 From: Yamagi Date: Tue, 21 Apr 2020 13:39:46 +0200 Subject: [PATCH] Resolve oversight in last commit. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fedf9ad..9cd24ac 100755 --- a/Makefile +++ b/Makefile @@ -146,7 +146,7 @@ override LDFLAGS += -shared # Required libaries ifeq ($(YQ2_OSTYPE), Darwin) override LDFLAGS += -arch $(YQ2_ARCH) -else ifeq ($(OSTYPE), Windows) +else ifeq ($(YQ2_OSTYPE), Windows) override LDFLAGS += -static-libgcc else override LDFLAGS += -lm @@ -183,12 +183,12 @@ clean: # ---------- # The ctf game -ifeq ($(OSTYPE), Windows) +ifeq ($(YQ2_OSTYPE), Windows) ctf: @echo "===> Building game.dll" $(Q)mkdir -p release $(MAKE) release/game.dll -else ifeq ($(OSTYPE), Darwin) +else ifeq ($(YQ2_OSTYPE), Darwin) ctf: @echo "===> Building game.dylib" ${Q}mkdir -p release