[PD-cvs] externals/grill/flext/build/mac/pd config-gcc.def,NONE,1.1 make-gcc.inc,NONE,1.1

Thomas Grill xovo at users.sourceforge.net
Sun Dec 19 06:04:20 CET 2004


Update of /cvsroot/pure-data/externals/grill/flext/build/mac/pd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24525/build/mac/pd

Added Files:
	config-gcc.def make-gcc.inc 
Log Message:
simplified make system
updated make system


--- NEW FILE: config-gcc.def ---
# where is the PD installation?
PDPATH=/usr/local/lib/pd

# where is the PD executable?
PDBIN=/usr/local/bin/pd

# where should the external be installed?
INSTPATH=$(PDPATH)/extra

# where do the flext headers and libraries reside?
FLEXTPATH=$(PDPATH)/flext

# where should the external be built?
OUTPATH=pd-darwin

# user defined compiler flags
# (check if they match your system!)
OFLAGS=-O2 -mcpu=G4 -malign-natural -maltivec -faltivec

--- NEW FILE: make-gcc.inc ---
DEFS += -DFLEXT_SYS=2

INCPATH += -I$(PDPATH)/src
LIBPATH += -L$(PDPATH)/bin

LDFLAGS += -bundle -bundle_loader $(PDBIN)

LIBS +=

EXT=pd_darwin

#########################################

ifdef SHARED
# --- shared ---

ifdef DEBUG
LIBS += -lflext_d
else
LIBS += -lflext
endif

else
ifdef THREADED
# --- static multi-threaded ---

ifdef DEBUG
LIBS += $(FLEXTPATH)/libflext_td.a
else
LIBS += $(FLEXTPATH)/libflext_t.a
endif

else 
# --- static single-threaded ---

ifdef DEBUG
LIBS += $(FLEXTPATH)/libflext_d.a
else
LIBS += $(FLEXTPATH)/libflext.a
endif

endif
endif





More information about the Pd-cvs mailing list