diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2009-04-01 23:28:24 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2009-04-01 23:28:24 +0000 |
commit | 36b48fabcf54a65541b08c0835b53daebd9357f6 (patch) | |
tree | cb5c8d6a5e75c142e2b396505fc70c77439f4296 /externals/grill/dyn_py/makefile.pd-darwin | |
parent | 0ed7a8b68dd73e2b0473b8127aeca99f3bac9061 (diff) |
replaced remaining dyn, dyn_py, idelay
svn path=/trunk/; revision=10953
Diffstat (limited to 'externals/grill/dyn_py/makefile.pd-darwin')
-rwxr-xr-x | externals/grill/dyn_py/makefile.pd-darwin | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/externals/grill/dyn_py/makefile.pd-darwin b/externals/grill/dyn_py/makefile.pd-darwin deleted file mode 100755 index 0f56346e..00000000 --- a/externals/grill/dyn_py/makefile.pd-darwin +++ /dev/null @@ -1,75 +0,0 @@ -# Makefile for gcc @ darwin -# -# usage: -# to build run "make -f makefile.pd-darwin" -# to install (as root), do "make -f makefile.pd-darwin install" -# - -CONFIG=config-pd-darwin.txt - -include ${CONFIG} - -# compiler+linker stuff -INCLUDES=${PDPATH} $(DYN) $(PYTHON) $(PYCXX) -FLAGS=${UFLAGS} -fexceptions -frtti - -# compiler flags for optimized build -CFLAGS=-O2 - -# compiler flags for debug build -CFLAGS_D=-g - -# flags for shared linking -LSHFLAGS= -bundle -bundle_loader $(PD)/pd - -# frameworks -FRAMEWORKS=Python System -LIBS=pycxx dyn - - -# ---------------------------------------------- -# the rest can stay untouched -# ---------------------------------------------- - -# all the source files from the package -include make-files.txt - -MAKEFILE=makefile.pd-darwin - -TARGET=$(TARGDIR)/$(NAME).so -TARGET_D=$(TARGDIR)/$(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 $(CFLAGS) $(CFLAGS_T) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@ - -$(TARGDIR)/%.do : $(SRCDIR)/%.cpp - $(CXX) -c $(CFLAGS_D) $(CFLAGS_T) $(CFLAGS_S) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(SRCDIR)) $< -o $@ - -$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) - g++ $(LSHFLAGS) -o $@ $^ $(patsubst %,-l%,$(LIBS)) $(patsubst %,-framework %,$(FRAMEWORKS)) - -$(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS)) - g++ $(LSHFLAGS) -o $@ $^ $(patsubst %,-l%,$(LIBS)) $(patsubst %,-framework %,$(FRAMEWORKS)) - -.PHONY: clean install - -clean: - rm -f $(TARGDIR)/*.{o,do} $(TARGET) $(TARGET_D) - -ifdef INSTDIR -install:: $(INSTDIR) - -install:: $(TARGET) $(TARGET_D) - install $< $(INSTDIR) -endif |