aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/makefile.pd-linux
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-01-08 03:39:00 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-01-08 03:39:00 +0000
commit69487c956975fb9dc0587fb22fc20d6ca62ec08d (patch)
treebada1cbb47e818666ae5dfe2e024a306286816cc /externals/grill/pool/makefile.pd-linux
parentd563db671892f0719195aeeb89cac6ee3fe7c69e (diff)
""
svn path=/trunk/; revision=1252
Diffstat (limited to 'externals/grill/pool/makefile.pd-linux')
-rw-r--r--externals/grill/pool/makefile.pd-linux13
1 files changed, 4 insertions, 9 deletions
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))