diff options
Diffstat (limited to 'externals/grill/py/makefile.pd-linux')
-rw-r--r-- | externals/grill/py/makefile.pd-linux | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/externals/grill/py/makefile.pd-linux b/externals/grill/py/makefile.pd-linux index af2b58d2..0c90892f 100644 --- a/externals/grill/py/makefile.pd-linux +++ b/externals/grill/py/makefile.pd-linux @@ -17,7 +17,7 @@ FLEXTLIB=$(FLEXTPATH)/flext_t.a # compiler+linker stuff INCLUDES=$(PDPATH) $(PYTHONINCLUDE) LIBPATH=$(PYTHONLIB) -FLAGS=-DPD -DFLEXT_THREADS +FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS CFLAGS=-O6 -mcpu=pentiumpro #CFLAGS=-g LIBS=m util python$(PYTHONVER) @@ -30,21 +30,20 @@ LIBS=m util python$(PYTHONVER) 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 TARGET=$(TARGDIR)/$(NAME).pd_linux # default target all: $(TARGDIR) $(TARGET) -$(patsubst %,source/%,$(SRCS)): $(patsubst %,source/%,$(HDRS)) $(FLEXTLIB) $(CONFIG) +$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTLIB) $(CONFIG) touch $@ $(TARGDIR): mkdir $(TARGDIR) -$(TARGDIR)/%.o : source/%.cpp +$(TARGDIR)/%.o : $(SRCDIR)/%.cpp $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@ $(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(FLEXTLIB) |