From edaf661bb1b25d0fecb08139678aae5606972f6f Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sun, 7 Jul 2019 08:44:06 -0400 Subject: [PATCH] Detect MINGW, as well as CYGWIN, for Windows build environment. #76 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 0ae5394..87850c4 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,10 @@ # equal to some value. Your mileage my vary. win := $(shell uname | grep CYGWIN) +ifeq ($(win),) + win := $(shell uname | grep MINGW) +endif + dar := $(shell uname | grep Darwin) ifneq ($(win),)