From fa5a047a01effcc99b3390804f6c408a73b9ecf8 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 20 Jan 2007 14:26:02 +0000 Subject: PD: possibility to create DSP objects without main DSP inlet (use FLEXT_DSP0_NEW or similar) fixing typo support for multiple archs under OSX small fix for ppc arch architecture-specific compiler flags for UB under OSX fixed severe Altivec bug changed eol-style corrections to config build templates added xcode 2.4 project fixed atom sorting (now also respect symbol content) no stripping of local symbols some fixes, mostly OS X updated build system for Max with MinGW better default values fixed bug in AtomList copying svn path=/trunk/; revision=7368 --- .../grill/flext/buildsys/mac/gnumake-gcc-ext.inc | 53 ++-------------------- 1 file changed, 4 insertions(+), 49 deletions(-) (limited to 'externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc') diff --git a/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc index 2f277625..bbcdf4ad 100644 --- a/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc +++ b/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc @@ -4,49 +4,10 @@ INCPATH += -I$(FLEXTINC) LIBPATH += -L$(FLEXTLIB) LIBS += -l$(FLEXTNAME) -# obviously header precompilation os still buggy with gcc 3.3 +# common compilation stuff +include $(BUILDPATH)$(PLATFORM)/gnumake-gcc-targets.inc -ifdef PRECOMPILE -#PRECOMSRC=$(SRCDIR)/$(PRECOMPILE) -else -#PRECOMSRC=$(FLEXTINC)/flext.h -endif -ifdef PRECOMSRC -PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch -PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC)) -endif - -############################################## - -CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS))) -CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS))) -COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS))) -CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS))) - -############################################## - -# default target -_build_: $(TARGET) - -$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS)) - touch $@ - -# Attention: $@ doesn't work for paths with spaces.... -$(OBJPATH): - -mkdir -p $(OBJPATH) - -# Attention: $@ doesn't work for paths with spaces.... -$(TARGETPATH): - -mkdir -p $(TARGETPATH) - -$(PRECOMDST) : $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS)) - $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@ - -$(OBJPATH)/%.opp : $(SRCDIR)/%.cpp - $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@ - -$(OBJPATH)/%.o : $(SRCDIR)/%.c - $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ +##### linking ################### $(TARGET) :: $(OBJPATH) $(TARGETPATH) @@ -65,13 +26,7 @@ ifdef TARGETPOST $(TARGET) :: $(TARGETPOST) endif -############################################## - -_clean_: - -rm -r $(TARGETPATH) - -rm -r $(OBJPATH) - -############################################## +################################### # Attention: $@ doesn't work for paths with spaces.... $(INSTPATH): -- cgit v1.2.1