From 69487c956975fb9dc0587fb22fc20d6ca62ec08d Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 8 Jan 2004 03:39:00 +0000 Subject: "" svn path=/trunk/; revision=1252 --- externals/grill/pool/makefile.pd-linux | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'externals/grill/pool/makefile.pd-linux') diff --git a/externals/grill/pool/makefile.pd-linux b/externals/grill/pool/makefile.pd-linux index dd70f4e6..1d5654a6 100644 --- a/externals/grill/pool/makefile.pd-linux +++ b/externals/grill/pool/makefile.pd-linux @@ -1,5 +1,5 @@ # pool - hierarchical storage object for PD and Max/MSP -# Copyright (C) 2002 Thomas Grill (xovo@gmx.net) +# Copyright (C) 2002-2004 Thomas Grill (xovo@gmx.net) # # Makefile for gcc @ linux # @@ -42,26 +42,21 @@ endif # the rest can stay untouched # ---------------------------------------------- -NAME=pool +include make-files.txt -# all the source files from the package -SRCS=main.cpp pool.cpp data.cpp -HDRS=pool.h - -DIR=. TARGET=$(TARGDIR)/$(NAME).pd_linux # default target all: $(TARGDIR) $(TARGET) -$(patsubst %,$(DIR)/%,$(SRCS)): $(patsubst %,$(DIR)/%,$(HDRS)) $(CONFIG) +$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(CONFIG) touch $@ $(TARGDIR): mkdir $(TARGDIR) -$(TARGDIR)/%.o : $(DIR)/%.cpp +$(TARGDIR)/%.o : $(SRCDIR)/%.cpp $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@ $(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) -- cgit v1.2.1