aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/make-inc.pd-msvc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/make-inc.pd-msvc')
-rw-r--r--externals/grill/flext/make-inc.pd-msvc10
1 files changed, 4 insertions, 6 deletions
diff --git a/externals/grill/flext/make-inc.pd-msvc b/externals/grill/flext/make-inc.pd-msvc
index 2bd528d9..56870d42 100644
--- a/externals/grill/flext/make-inc.pd-msvc
+++ b/externals/grill/flext/make-inc.pd-msvc
@@ -19,7 +19,7 @@ INCPATH=$(INCPATH) /I$(SNDOBJ)
# compiler definitions and flags
DEFS=/DPD /DNT
-CFLAGS=/GR /GD /G6
+CFLAGS=/GR- /GX- /GD /G6
OFLAGS=/Ox
DFLAGS=/Od /Zi
@@ -58,8 +58,8 @@ OBJPATH=sd
!include make-files.txt
!ifdef SNDOBJ
-SRCS=$(SRCS) flsndobj.cpp
-HDRS=$(HDRS) flsndobj.h
+SRCS=$(SRCS) $(SRCS_SNDOBJ)
+HDRS=$(HDRS) $(HDRS_SNDOBJ)
!endif
#default target
@@ -89,11 +89,9 @@ $(OUTPATH)\$(NAME)-$(TARGET).lib: $(OBJS)
@cd $(OUTPATH)\$(OBJPATH)
lib /OUT:..\$(NAME)-$(TARGET).lib $**
@cd ..\..
-!ifdef INSTALL
-!if "$(INSTALL)" == "yes"
+!ifdef INSTDIR
@-if not exist $(OBJPATH) mkdir $(INSTDIR)
copy $(OUTPATH)\$(NAME)-$(TARGET).lib $(INSTDIR) > nul
copy $(SOURCE)\*.h $(INSTDIR) > nul
!endif
-!endif