aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/fftease/makefile.pd-darwin
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-09 04:37:24 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-09 04:37:24 +0000
commitfeeb907835c33ec49308a32449dc0b6d07285e2a (patch)
tree7049e5037b1423af69239dca4373f764df76ea74 /externals/grill/fftease/makefile.pd-darwin
parent900871454af06db1d751e28cea56f59dc43d3c17 (diff)
""
svn path=/trunk/; revision=329
Diffstat (limited to 'externals/grill/fftease/makefile.pd-darwin')
-rw-r--r--externals/grill/fftease/makefile.pd-darwin5
1 files changed, 4 insertions, 1 deletions
diff --git a/externals/grill/fftease/makefile.pd-darwin b/externals/grill/fftease/makefile.pd-darwin
index e175d277..16a94291 100644
--- a/externals/grill/fftease/makefile.pd-darwin
+++ b/externals/grill/fftease/makefile.pd-darwin
@@ -55,7 +55,10 @@ $(TARGDIR):
$(TARGDIR)/%.o : $(DIR)/%.cpp
$(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES)) $< -o $@
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(FLEXTLIB)
+$(TARGDIR)/%.co : $(DIR)/%.c
+ $(CC) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES)) $< -o $@
+
+$(TARGET) : $(patsubst %.c,$(TARGDIR)/%.co,$(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))) $(FLEXTLIB)
$(CXX) $(LDFLAGS) $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@
chmod 755 $@