aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/mac/max
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/mac/max')
-rw-r--r--externals/grill/flext/buildsys/mac/max/gnumake-gcc-ext.inc3
-rw-r--r--externals/grill/flext/buildsys/mac/max/gnumake-gcc-flext.inc12
2 files changed, 13 insertions, 2 deletions
diff --git a/externals/grill/flext/buildsys/mac/max/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/mac/max/gnumake-gcc-ext.inc
index 85e01a75..de5afd04 100644
--- a/externals/grill/flext/buildsys/mac/max/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/mac/max/gnumake-gcc-ext.inc
@@ -4,6 +4,9 @@ EXT=mxo
OBJPATH=$(OUTPATH)/$(OUTSUB)
+# bundle name (build site)
INSTTARGET=$(OBJPATH)/$(OUTNAME).$(EXT)
+# folder inside bundle (build site)
TARGETPATH=$(INSTTARGET)/Contents/MacOS
+# file inside bundle (build site)
TARGET=$(TARGETPATH)/$(OUTNAME)
diff --git a/externals/grill/flext/buildsys/mac/max/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/mac/max/gnumake-gcc-flext.inc
index b99cfec7..531d92b1 100644
--- a/externals/grill/flext/buildsys/mac/max/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/mac/max/gnumake-gcc-flext.inc
@@ -7,8 +7,16 @@ endif
##############################################
OBJPATH=$(OUTPATH)/$(OUTSUB)
-
TARGETPATH=$(OBJPATH)
-TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
+
+TARGETNAME=$(OUTNAME).$(EXT)
+ifdef PKGVERSION
+VERNAME=$(OUTNAME).$(PKGVERSION).$(EXT)
+TARGET=$(TARGETPATH)/$(VERNAME)
+else
+TARGET=$(TARGETPATH)/$(TARGETNAME)
+endif
+
INSTTARGET=$(TARGET)
+