aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile.buildlayout
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Makefile.buildlayout')
-rw-r--r--packages/Makefile.buildlayout26
1 files changed, 12 insertions, 14 deletions
diff --git a/packages/Makefile.buildlayout b/packages/Makefile.buildlayout
index 6c5af58c..802c244e 100644
--- a/packages/Makefile.buildlayout
+++ b/packages/Makefile.buildlayout
@@ -40,20 +40,18 @@ UNAME := $(shell uname -s)
ifeq ($(UNAME),Linux)
OS_NAME = linux
EXTENSION = pd_linux
-else
- ifeq ($(UNAME),Darwin)
- OS_NAME = darwin
- EXTENSION = pd_darwin
- else
- ifeq (MINGW,$(findstring MINGW,$(UNAME)))
- OS_NAME = windows
- EXTENSION = dll
- else
- OS_NAME = unknown
- EXTENSION = so
- $(warning WARNING: unknown environment "$(UNAME)".)
- endif
- endif
+endif
+ifeq ($(UNAME),Darwin)
+ OS_NAME = darwin
+ EXTENSION = pd_darwin
+endif
+ifeq (MINGW,$(findstring MINGW,$(UNAME)))
+ OS_NAME = windows
+ EXTENSION = dll
+endif
+ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
+ OS_NAME = windows
+ EXTENSION = dll
endif
#==============================================================================#