aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/makefile.pd-linux
diff options
context:
space:
mode:
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))