Update of /cvsroot/pure-data/externals/grill/pool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7943
Added Files: makefile.pd-mingw config-pd-mingw.txt Log Message: .
--- NEW FILE: makefile.pd-mingw --- # pool - hierarchical storage object for PD and Max/MSP # Copyright (C) 2002-2004 Thomas Grill (xovo@gmx.net) # # Makefile for gcc @ windows # # usage: # to build run "make -f makefile.pd-mingw" # to install (as root), do "make -f makefile.pd-mingw install" #
CONFIG=config-pd-mingw.txt
include $(CONFIG)
# compiler+linker stuff INCLUDES=$(PDPATH)/src FLAGS=-DFLEXT_SYS=2 CFLAGS=-O2 $(UFLAGS) LDFLAGS=$(UFLAGS) # needed by icc LIBS= $(PDPATH)/bin/pd.dll FLEXTLIB=$(FLEXTPATH)/flext-pdwin.lib
# --------------------------------------------- # the rest can stay untouched # ----------------------------------------------
include make-files.txt
TARGET=$(TARGDIR)/$(NAME).dll
# default target all: $(TARGDIR) $(TARGET)
$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(CONFIG) touch $@
$(TARGDIR): mkdir $(TARGDIR)
$(TARGDIR)/%.o : $(SRCDIR)/%.cpp $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(CXX) -shared $(LDFLAGS) -o $@ $^ $(LIBS) $(FLEXTLIB) strip --strip-unneeded $@ chmod 755 $@
$(INSTPATH): mkdir $(INSTPATH)
install:: $(INSTPATH)
install:: $(TARGET) cp $^ $(INSTPATH)
.PHONY: clean clean: rm -f $(TARGDIR)/*.o $(TARGET)
--- NEW FILE: config-pd-mingw.txt --- # pool - hierarchical storage object for PD and Max/MSP # Copyright (c) 2002-2004 Thomas Grill (xovo@gmx.net) #
# your c++ compiler (define only if it's different than g++) # CXX=g++
PDPATH=/c/program/pd
# where do the flext libraries reside? FLEXTPATH=$(PDPATH)/flext
# where should flext libraries be built? TARGDIR=./pd-mingw
# where should the external be installed? # (leave blank to omit installation) INSTPATH=$(PDPATH)/extra
# user defined compiler flags UFLAGS=
# define for shared build FLEXT_SHARED=1