aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/make-inc.max-msvc
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-11-15 03:32:57 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-11-15 03:32:57 +0000
commit56d86e54fc9a77f6094383f448e430b26d8ab76d (patch)
treee7e5cf23c3945ea2f97dfab132dda75880b107e0 /externals/grill/flext/make-inc.max-msvc
parent1547eec9428f5ced3c2d5ac1d2420d86254f2048 (diff)
""
svn path=/trunk/; revision=1183
Diffstat (limited to 'externals/grill/flext/make-inc.max-msvc')
-rw-r--r--externals/grill/flext/make-inc.max-msvc8
1 files changed, 6 insertions, 2 deletions
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)