diff options
Diffstat (limited to 'externals/grill/flext/makefile.pd-darwin')
-rw-r--r-- | externals/grill/flext/makefile.pd-darwin | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/externals/grill/flext/makefile.pd-darwin b/externals/grill/flext/makefile.pd-darwin index e22176f0..71aa0e31 100644 --- a/externals/grill/flext/makefile.pd-darwin +++ b/externals/grill/flext/makefile.pd-darwin @@ -14,7 +14,7 @@ include $(CONFIG) # compiler+linker stuff INCLUDES=$(PDPATH) $(SNDOBJ) -FLAGS=-DPD -Dunix -DMACOSX -maltivec -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes +FLAGS=-DPD -Dunix -DMACOSX -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes # -maltivec CFLAGS=-O6 CFLAGS_D=-g -Wshadow CFLAGS_T=-DFLEXT_THREADS @@ -31,8 +31,8 @@ NAME=flext include make-files.txt ifdef SNDOBJ -_SRCS=$(SRCS) flsndobj.cpp -_HDRS=$(HDRS) flsndobj.h +_SRCS=$(SRCS) $(SRCS_SNDOBJ) +_HDRS=$(HDRS) $(HDRS_SNDOBJ) else _SRCS=$(SRCS) _HDRS=$(HDRS) @@ -81,10 +81,12 @@ $(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(_SRCS)) clean: rm -f $(TARGDIR)/*.{o,do,to,tdo} $(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD) +ifdef INSTDIR $(INSTDIR): -mkdir $(INSTDIR) install:: $(INSTDIR) +endif install:: $(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD) $(patsubst %,source/%,$(_HDRS)) cp $^ $(INSTDIR) |