From e4991ce586558b0ff3a06b7c0c4022d2083c4d01 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 15 Apr 2003 02:41:04 +0000 Subject: "" svn path=/trunk/; revision=562 --- externals/grill/py/makefile.pd-darwin | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'externals/grill/py/makefile.pd-darwin') diff --git a/externals/grill/py/makefile.pd-darwin b/externals/grill/py/makefile.pd-darwin index 1351d834..ec0eeeba 100755 --- a/externals/grill/py/makefile.pd-darwin +++ b/externals/grill/py/makefile.pd-darwin @@ -17,7 +17,7 @@ FLEXTLIB=${FLEXTPATH}/flext_t.a # compiler+linker stuff INCLUDES=${PDPATH} ${FLEXTPATH} ${PYTHONINCLUDE} LIBPATH= ${PYTHONLIB} -FLAGS=-DPD -Dunix -DMACOSX -DFLEXT_THREADS +FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS CFLAGS=-O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes # -maltivec #CFLAGS=-g LIBS=m python${PYTHONVER} @@ -29,25 +29,22 @@ LDFLAGS=-bundle -bundle_loader ${PD} NAME=py # all the source files from the package -SRCS=main.cpp py.cpp pyext.cpp bound.cpp clmeth.cpp modmeth.cpp pyargs.cpp register.cpp -HDRS=main.h pyext.h +include make-files.txt -DIR=source - TARGET=$(TARGDIR)/$(NAME).pd_darwin MAKEFILE=makefile.pd-darwin # default target all: $(TARGDIR) $(TARGET) -$(patsubst %,$(DIR)/%,$(SRCS)): $(patsubst %,$(DIR)/%,$(HDRS)) $(FLEXTLIB) $(MAKEFILE) $(CONFIG) +$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTLIB) $(MAKEFILE) $(CONFIG) touch $@ $(TARGDIR): mkdir $(TARGDIR) -$(TARGDIR)/%.o : $(DIR)/%.cpp +$(TARGDIR)/%.o : $(SRCDIR)/%.cpp $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES)) $< -o $@ $(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(FLEXTLIB) -- cgit v1.2.1