From b3a748d949d8d05bc0cce5f3d7381175c5f981c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Albert=20Gr=C3=A4f?= <aggraef@gmail.com>
Date: Fri, 16 Feb 2018 12:49:19 +0100
Subject: [PATCH] macOS compilation: Pd-extended is getting a bit long in the
 tooth, let's assume a vanilla install instead

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4403bc6..8ae8cc9 100644
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,8 @@ ifeq ($(UNAME),Darwin)
     EXTENSION = pd_darwin
     SHARED_EXTENSION = dylib
     OS = macosx
-    PD_PATH = /Applications/Pd-extended.app/Contents/Resources
+    PD_PATH = $(wildcard /Applications/Pd-0*.app/Contents/Resources)
+    PD_INCLUDE = $(PD_PATH)/include
     OPT_CFLAGS = -ftree-vectorize
 # uncomment this to build fat binaries
     #FAT_BINARIES = 1
-- 
GitLab