aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
Diffstat (limited to 'externals')
-rw-r--r--externals/grill/flext/config-max-msvc.txt2
-rw-r--r--externals/grill/flext/make-inc.max-msvc8
2 files changed, 7 insertions, 3 deletions
diff --git a/externals/grill/flext/config-max-msvc.txt b/externals/grill/flext/config-max-msvc.txt
index f0ed8edd..312e1782 100644
--- a/externals/grill/flext/config-max-msvc.txt
+++ b/externals/grill/flext/config-max-msvc.txt
@@ -25,7 +25,7 @@ OUTPATH=".\max-msvc"
# where should flext libraries be installed?
# (leave blank to omit installation)
-INSTDIR=$(PDPATH)\flext
+INSTDIR="%CommonProgramFiles%\Cycling '74\flext"
# user-definable compiler flags
# e.g. FLEXT_USE_SIMD enables SIMD support for capable CPUs (for VC++ 6, you need the Processor Pack)
diff --git a/externals/grill/flext/make-inc.max-msvc b/externals/grill/flext/make-inc.max-msvc
index ab9a397c..149428d5 100644
--- a/externals/grill/flext/make-inc.max-msvc
+++ b/externals/grill/flext/make-inc.max-msvc
@@ -10,9 +10,13 @@
SOURCE=source
# includes
-INCPATH=/I$(MSVCPATH)\include /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes /I$(SOURCE)
-LDFLAGS=/LIBPATH:$(MSVCPATH)\lib
+INCPATH=/I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes /I$(SOURCE)
+LDFLAGS=
+!ifdef MSVCPATH
+INCPATH=$(INCPATH) /I$(MSVCPATH)\include
+LDFLAGS=$(LDFLAGS) /LIBPATH:$(MSVCPATH)\lib
+!endif
# compiler definitions and flags
DEFS=/DFLEXT_SYS=1 $(UFLAGS)