aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 72a89e8..3ceb6bd 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -2,6 +2,15 @@
PD_DIR ?= $(ROOT_DIR)/../../pd/src
OS_NAME = $(shell uname -s)
+
+# Debian has options for the GNU HURD and kFreeBSD kernels
+ifeq ($(OS_NAME),GNU)
+ OS_NAME=Linux
+endif
+ifeq ($(OS_NAME),GNU/kFreeBSD)
+ OS_NAME=Linux
+endif
+
ifneq ($(OS_NAME),Linux)
ifneq ($(OS_NAME),Darwin)
ifeq (,$(findstring MinGW,$(OS_NAME)))