diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-04-15 02:41:04 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-04-15 02:41:04 +0000 |
commit | e4991ce586558b0ff3a06b7c0c4022d2083c4d01 (patch) | |
tree | 96e5d97482a50ae760cd9bdc8ea8401bd1bf6648 /externals/grill/py/makefile.pd-linux | |
parent | c58149336328a7c05d9c713368d30ea30ec0ac1b (diff) |
""
svn path=/trunk/; revision=562
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) |