aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/dyn/makefile.pd-linux
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2009-04-01 23:28:24 +0000
committerThomas Grill <xovo@users.sourceforge.net>2009-04-01 23:28:24 +0000
commit36b48fabcf54a65541b08c0835b53daebd9357f6 (patch)
treecb5c8d6a5e75c142e2b396505fc70c77439f4296 /externals/grill/dyn/makefile.pd-linux
parent0ed7a8b68dd73e2b0473b8127aeca99f3bac9061 (diff)
replaced remaining dyn, dyn_py, idelay
svn path=/trunk/; revision=10953
Diffstat (limited to 'externals/grill/dyn/makefile.pd-linux')
-rw-r--r--externals/grill/dyn/makefile.pd-linux72
1 files changed, 0 insertions, 72 deletions
diff --git a/externals/grill/dyn/makefile.pd-linux b/externals/grill/dyn/makefile.pd-linux
deleted file mode 100644
index 1a8e582d..00000000
--- a/externals/grill/dyn/makefile.pd-linux
+++ /dev/null
@@ -1,72 +0,0 @@
-# Makefile for gcc @ linux
-#
-# usage:
-# to build run "make -f makefile.pd-linux"
-# to install (as root), do "make -f makefile.pd-linux install"
-#
-
-CONFIG=config-pd-linux.txt
-
-include ${CONFIG}
-
-# compiler+linker stuff
-INCLUDES=${PDPATH}
-FLAGS=${UFLAGS}
-
-# compiler flags for optimized build
-CFLAGS=-O2
-
-# compiler flags for debug build
-CFLAGS_D=-g
-
-# flags for shared linking
-LSHFLAGS= -shared
-
-# ----------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-include make-files.txt
-
-MAKEFILE=makefile.pd-linux
-
-TARGET=$(TARGDIR)/lib$(NAME).so
-TARGET_D=$(TARGDIR)/lib$(NAME)_d.so
-HDRS=$(PHDRS) $(IHDRS)
-
-
-all: $(TARGDIR) $(TARGET) $(TARGET_D)
-
-$(TARGDIR):
- mkdir $(TARGDIR)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(patsubst %,$(SRCDIR)/%,$(IHDRS)) $(MAKEFILE) $(CONFIG)
- touch $@
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c -shared $(CFLAGS) $(CFLAGS_T) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-$(TARGDIR)/%.do : $(SRCDIR)/%.cpp
- $(CXX) -c -shared $(CFLAGS_D) $(CFLAGS_T) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
- $(CXX) $(LSHFLAGS) -o $@ $^
-
-$(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS))
- $(CXX) $(LSHFLAGS) -o $@ $^
-
-.PHONY: clean install
-
-clean:
- rm -f $(TARGDIR)/*.{o,do} $(TARGET) $(TARGET_D)
-
-ifdef PREFIX
-
-install:: $(PREFIX)
-endif
-
-install:: $(TARGET) $(TARGET_D)
-# cp $(patsubst %,$(SRCDIR)/%,$(PHDRS)) $(PREFIX)/include
- cp $(TARGDIR)/lib*.dylib $(PREFIX)/lib
-