From 12dd4dd914b26ef48f6d6b7f49077d62b63be217 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 13 Jan 2005 04:59:11 +0000 Subject: various fixes to build system fixes for build system better templates, some minor changes build system: added profiler mode, more fixes added ICC/linux support small optimizations svn path=/trunk/; revision=2498 --- externals/grill/flext/buildsys/build-icc.sh | 5 ++ externals/grill/flext/buildsys/gnumake.mak | 21 ++++++++ .../grill/flext/buildsys/lnx/gnumake-gcc-ext.inc | 4 ++ .../grill/flext/buildsys/lnx/gnumake-gcc-flext.inc | 4 ++ externals/grill/flext/buildsys/lnx/gnumake-gcc.inc | 5 +- .../grill/flext/buildsys/lnx/gnumake-icc-ext.inc | 46 ++++++++++++++++++ .../grill/flext/buildsys/lnx/gnumake-icc-flext.inc | 56 ++++++++++++++++++++++ externals/grill/flext/buildsys/lnx/gnumake-icc.inc | 31 ++++++++++++ .../grill/flext/buildsys/lnx/pd/config-gcc.def | 3 +- .../grill/flext/buildsys/lnx/pd/config-icc.def | 34 +++++++++++++ .../flext/buildsys/lnx/pd/gnumake-icc-ext.inc | 1 + .../flext/buildsys/lnx/pd/gnumake-icc-flext.inc | 6 +++ .../grill/flext/buildsys/lnx/pd/gnumake-icc.inc | 4 ++ .../grill/flext/buildsys/mac/pd/config-gcc.def | 1 + externals/grill/flext/buildsys/win/bmake-bcc.inc | 8 +--- .../grill/flext/buildsys/win/gnumake-cygwin.inc | 4 +- .../grill/flext/buildsys/win/gnumake-mingw-ext.inc | 22 ++++----- .../flext/buildsys/win/gnumake-mingw-flext.inc | 29 +++++------ .../grill/flext/buildsys/win/gnumake-mingw.inc | 4 +- .../grill/flext/buildsys/win/max/config-mingw.def | 2 +- .../grill/flext/buildsys/win/pd/config-bcc.def | 3 +- .../grill/flext/buildsys/win/pd/config-cygwin.def | 7 +-- .../grill/flext/buildsys/win/pd/config-mingw.def | 5 +- .../grill/flext/buildsys/win/pd/config-msvc.def | 3 +- 24 files changed, 258 insertions(+), 50 deletions(-) create mode 100644 externals/grill/flext/buildsys/build-icc.sh create mode 100644 externals/grill/flext/buildsys/lnx/gnumake-icc-ext.inc create mode 100644 externals/grill/flext/buildsys/lnx/gnumake-icc-flext.inc create mode 100644 externals/grill/flext/buildsys/lnx/gnumake-icc.inc create mode 100644 externals/grill/flext/buildsys/lnx/pd/config-icc.def create mode 100644 externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc create mode 100644 externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc create mode 100644 externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc (limited to 'externals/grill/flext/buildsys') diff --git a/externals/grill/flext/buildsys/build-icc.sh b/externals/grill/flext/buildsys/build-icc.sh new file mode 100644 index 00000000..d110da66 --- /dev/null +++ b/externals/grill/flext/buildsys/build-icc.sh @@ -0,0 +1,5 @@ +#! /bin/bash + +build=${0%/*}/ + +make -f ${build}gnumake.mak PLATFORM=$1 RTSYS=$2 COMPILER=icc BUILDPATH=${build} $3 $4 $5 $6 $7 $8 $9 diff --git a/externals/grill/flext/buildsys/gnumake.mak b/externals/grill/flext/buildsys/gnumake.mak index 4f9ca055..85559e13 100644 --- a/externals/grill/flext/buildsys/gnumake.mak +++ b/externals/grill/flext/buildsys/gnumake.mak @@ -84,22 +84,38 @@ include $(BUILDPATH)targets-$(BUILDCLASS).inc .PRECIOUS: $(SYSCONFIG) $(USRCONFIG) $(SYSCONFIG): $(SYSDEFAULT) +ifeq ($(COMPILER),mingw) + @copy $(subst /,\,$<) $(subst /,\,$@) +else @cp $< $@ +endif @echo ------------------------------------------------------------------------- @echo A default system configuration file has been created. @echo Please edit $(SYSCONFIG) @echo to match your platform, then start again. @echo ------------------------------------------------------------------------- +ifeq ($(COMPILER),mingw) + @exit 1 +else @false +endif ifdef BUILDDIR $(USRCONFIG): $(USRDEFAULT) +ifeq ($(COMPILER),mingw) + @copy $(subst /,\,$<) $(subst /,\,$@) +else @cp $< $@ +endif @echo ------------------------------------------------------------------------- @echo A default package configuration file has been created. @echo Please edit $(USRCONFIG), then start again. @echo ------------------------------------------------------------------------- +ifeq ($(COMPILER),mingw) + @exit 1 +else @false +endif $(USRDEFAULT) $(USRMAKE): @echo ------------------------------------------------------------------------- @@ -109,5 +125,10 @@ $(USRDEFAULT) $(USRMAKE): @echo and @echo $(USRMAKE) @echo ------------------------------------------------------------------------- +ifeq ($(COMPILER),mingw) + @exit 1 +else @false endif + +endif diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc index 1e2d61d3..22314356 100644 --- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc +++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc @@ -26,7 +26,11 @@ $(TARGET):: $(TARGETPATH) $(TARGET):: $(COBJS) $(CPPOBJS) $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) chmod 755 $@ +ifndef DEBUG +ifndef PROFILE strip --strip-unneeded $@ +endif +endif ############################################## diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc index ae9b4a48..9f587cfc 100644 --- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc +++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc @@ -23,7 +23,11 @@ $(TARGET) :: $(COBJS) $(CPPOBJS) ifdef SHARED $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) chmod 755 $@ +ifndef DEBUG +ifndef PROFILE strip --strip-unneeded $@ +endif +endif else $(AR) rc $@ $(COBJS) $(CPPOBJS) endif diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc index 9927fb1a..4be5953d 100644 --- a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc +++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc @@ -7,16 +7,17 @@ TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT) ############################################## CFLAGS += -pthread -LDFLAGS += -pthread -shared -Wl,-x +LDFLAGS += -pthread -shared -Wl,-x ############################################## ifdef DEBUG CFLAGS += -g +LDFLAGS += -g else ifdef PROFILE CFLAGS += -g -pg -LDFLAGS += -pg +LDFLAGS += -g -pg else LDFLAGS += -Wl,-S endif diff --git a/externals/grill/flext/buildsys/lnx/gnumake-icc-ext.inc b/externals/grill/flext/buildsys/lnx/gnumake-icc-ext.inc new file mode 100644 index 00000000..4ce1c1da --- /dev/null +++ b/externals/grill/flext/buildsys/lnx/gnumake-icc-ext.inc @@ -0,0 +1,46 @@ +# build class specific settings + +INCPATH += -I$(FLEXTINC) +LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB) +LIBS += -l$(FLEXTNAME) + +############################################## + +# default target +_build_: $(TARGET) + +$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS)) + touch $@ + +$(TARGETPATH): + mkdir -p $@ + +$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp + icc -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + +$(TARGETPATH)/%.o : $(SRCDIR)/%.c + icc -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + +$(TARGET):: $(TARGETPATH) + +$(TARGET):: $(COBJS) $(CPPOBJS) + icc $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) + chmod 755 $@ +ifndef DEBUG +ifndef PROFILE + strip --strip-unneeded $@ +endif +endif + +############################################## + +_clean_: + -rm -r $(TARGETPATH) + +############################################## + +$(INSTPATH): + -mkdir -p $@ + +_install_: $(INSTPATH) + install $(TARGET) $(INSTPATH) diff --git a/externals/grill/flext/buildsys/lnx/gnumake-icc-flext.inc b/externals/grill/flext/buildsys/lnx/gnumake-icc-flext.inc new file mode 100644 index 00000000..ed06f9cf --- /dev/null +++ b/externals/grill/flext/buildsys/lnx/gnumake-icc-flext.inc @@ -0,0 +1,56 @@ +# build class specific settings + +############################################## + +# default target +_build_: $(TARGET) + +$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS)) + touch $@ + +$(TARGETPATH): + -mkdir -p $@ + +$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp + icc -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + +$(TARGETPATH)/%.o : $(SRCDIR)/%.c + icc -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + +$(TARGET) :: $(TARGETPATH) + +$(TARGET) :: $(COBJS) $(CPPOBJS) +ifdef SHARED + icc $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) + chmod 755 $@ +ifndef DEBUG +ifndef PROFILE + strip --strip-unneeded $@ +endif +endif +else + $(AR) rc $@ $(COBJS) $(CPPOBJS) +endif + +############################################## + +_clean_: + -rm -r $(TARGETPATH) + +############################################## + +ifdef SHARED +FLEXTLIBINST=$(FLEXTSHLIB) +else +FLEXTLIBINST=$(FLEXTLIB) +endif + +$(FLEXTINC): + -mkdir -p $@ + +$(FLEXTLIBINST): + -mkdir -p $@ + +_install_: $(FLEXTINC) $(FLEXTLIBINST) + install $(TARGET) $(FLEXTLIBINST) + install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC) diff --git a/externals/grill/flext/buildsys/lnx/gnumake-icc.inc b/externals/grill/flext/buildsys/lnx/gnumake-icc.inc new file mode 100644 index 00000000..2797e882 --- /dev/null +++ b/externals/grill/flext/buildsys/lnx/gnumake-icc.inc @@ -0,0 +1,31 @@ +############################################## + +OBJPATH=$(OUTPATH)/$(OUTSUB) +TARGETPATH=$(OBJPATH) +TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT) + +############################################## + +CFLAGS += +LDFLAGS += -shared -Wl,-x + +############################################## + +ifdef DEBUG +CFLAGS += -g +LDFLAGS += -g +else +ifdef PROFILE +CFLAGS += -g -qp +LDFLAGS += -g -qp +else +LDFLAGS += -Wl,-S +endif +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))) diff --git a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def index bf0ff666..aaff3340 100644 --- a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def +++ b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def @@ -1,4 +1,5 @@ # where is the PD source package? +# (this should point to the main folder, which has a "src" subfolder) PDPATH=/usr/local/src/pd ############################################################### @@ -24,7 +25,7 @@ INSTPATH=/usr/local/lib/pd/extra # user defined compiler flags # (check if they match your system!) -UFLAGS=-msse +UFLAGS=-msse -mfpmath=sse -ffast-math # user defined optimization flags # (check if they match your system!) diff --git a/externals/grill/flext/buildsys/lnx/pd/config-icc.def b/externals/grill/flext/buildsys/lnx/pd/config-icc.def new file mode 100644 index 00000000..b6d6169e --- /dev/null +++ b/externals/grill/flext/buildsys/lnx/pd/config-icc.def @@ -0,0 +1,34 @@ +# where is the PD source package? +# (this should point to the main folder, which has a "src" subfolder) +PDPATH=/usr/local/src/pd + +############################################################### + +# where do/should the flext headers reside/be built? +FLEXTINC=/usr/local/include/flext + +# where do/should the flext static libraries reside/be built? +FLEXTLIB=/usr/local/lib + +# where do/should the flext shared libraries reside/be built? +FLEXTSHLIB=$(FLEXTLIB) + +############################################################### + +# where should the external be built? +OUTPATH=pd-linux + +# where should the external be installed? +INSTPATH=/usr/local/lib/pd/extra + +############################################################### + +# user defined compiler flags +# (check if they match your system!) +UFLAGS= + +# user defined optimization flags +# (check if they match your system!) +OFLAGS=-O3 -Ob2 -ip +# optimizations for Pentium 4 +OFLAGS+=-mcpu=pentium4 -march=pentium4 -xMKW diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc new file mode 100644 index 00000000..88feb249 --- /dev/null +++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-ext.inc @@ -0,0 +1 @@ +EXT=pd_linux diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc new file mode 100644 index 00000000..cecaa37a --- /dev/null +++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc-flext.inc @@ -0,0 +1,6 @@ +ifdef SHARED +EXT=so +else +EXT=a +endif + diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc new file mode 100644 index 00000000..2b27b02f --- /dev/null +++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-icc.inc @@ -0,0 +1,4 @@ +DEFS += -DFLEXT_SYS=2 + +INCPATH += -I$(PDPATH)/src +LIBPATH += -L$(PDPATH)/bin diff --git a/externals/grill/flext/buildsys/mac/pd/config-gcc.def b/externals/grill/flext/buildsys/mac/pd/config-gcc.def index 58f903ed..c9ff54dc 100644 --- a/externals/grill/flext/buildsys/mac/pd/config-gcc.def +++ b/externals/grill/flext/buildsys/mac/pd/config-gcc.def @@ -1,4 +1,5 @@ # where is the PD installation including source code? +# (this should point to the main folder, which has a "src" subfolder) PDPATH=/Applications/Pd-0.38-0.app/Contents/Resources # where is the PD executable? diff --git a/externals/grill/flext/buildsys/win/bmake-bcc.inc b/externals/grill/flext/buildsys/win/bmake-bcc.inc index 6e9e142b..67ce16f0 100644 --- a/externals/grill/flext/buildsys/win/bmake-bcc.inc +++ b/externals/grill/flext/buildsys/win/bmake-bcc.inc @@ -12,13 +12,9 @@ TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT) ############################################## # use precompiled headers -!ifndef PRECOMPILE -CFLAGS=$(CFLAGS) -Hh=flext.h -!else -CFLAGS=$(CFLAGS) -Hh=$(PRECOMPILE) +!ifdef PRECOMPILE +CFLAGS=$(CFLAGS) -Hh=$(PRECOMPILE) -H=$(OBJPATH)\precompiled.pch !endif -# location of precompiled file -CFLAGS=$(CFLAGS) -H=$(OBJPATH)\precompiled.pch ############################################## diff --git a/externals/grill/flext/buildsys/win/gnumake-cygwin.inc b/externals/grill/flext/buildsys/win/gnumake-cygwin.inc index 51866686..e98de396 100644 --- a/externals/grill/flext/buildsys/win/gnumake-cygwin.inc +++ b/externals/grill/flext/buildsys/win/gnumake-cygwin.inc @@ -6,8 +6,8 @@ TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT) ############################################## -CFLAGS += -pthread -LDFLAGS += -pthread -shared +CFLAGS += +LDFLAGS += -shared ############################################## diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc b/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc index f8eea4ac..8044d19b 100644 --- a/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc +++ b/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc @@ -18,33 +18,31 @@ _build_: $(TARGET) # touch $@ $(OUTPATH): - -cmd /c "mkdir $(subst /,\,$@)" + -mkdir $(subst /,\,$@) $(TARGETPATH): $(OUTPATH) - -cmd /c "mkdir $(subst /,\,$@)" + -mkdir $(subst /,\,$@) $(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp - $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + $(CXX) -c $(CFLAGS) $(DEFS) $(subst \,/,$(INCPATH)) $< -o $(subst /,\,$@) $(TARGETPATH)/%.o : $(SRCDIR)/%.c - $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + $(CC) -c $(CFLAGS) $(DEFS) $(subst \,/,$(INCPATH)) $< -o $(subst /,\,$@) $(TARGET) :: $(TARGETPATH) $(TARGET) :: $(COBJS) $(CPPOBJS) - $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) + $(CXX) $(LDFLAGS) $(subst \,/,$(LIBPATH)) -o $(subst /,\,$@) $(subst /,\,$(COBJS) $(CPPOBJS) $(LIBS)) -strip --strip-unneeded $@ ############################################## _clean_: - -cmd /c "del /q $(subst /,\,$(TARGETPATH)/*.*)" > nul - -cmd /c "rmdir /q $(subst /,\,$(TARGETPATH))" > nul + -del /q $(subst /,\,$(TARGETPATH)/*.*) > nul + -rmdir /q $(subst /,\,$(TARGETPATH)) > nul ############################################## -$(INSTPATH): - -cmd /c "mkdir $(subst /,\,$@)" - -_install_: $(INSTPATH) - cmd /c "copy $(subst /,\,$(TARGET) $(INSTPATH))" +_install_: + @if not exist $(subst /,\,$(INSTPATH)) -mkdir $(subst /,\,$(INSTPATH)) + copy $(subst /,\,$(TARGET) $(INSTPATH)) diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc b/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc index 69b8afac..8cd51720 100644 --- a/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc +++ b/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc @@ -9,22 +9,22 @@ _build_: $(TARGET) # touch $@ $(OUTPATH): - -cmd /c "mkdir $(subst /,\,$@)" + -mkdir $(subst /,\,$@) $(TARGETPATH): $(OUTPATH) - -cmd /c "mkdir $(subst /,\,$@)" + -mkdir $(subst /,\,$@) $(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp - $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + $(CXX) -c $(CFLAGS) $(DEFS) $(subst \,/,$(INCPATH)) $< -o $(subst /,\,$@) $(TARGETPATH)/%.o : $(SRCDIR)/%.c - $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@ + $(CC) -c $(CFLAGS) $(DEFS) $(subst \,/,$(INCPATH)) $< -o $(subst /,\,$@) $(TARGET) :: $(TARGETPATH) $(TARGET) :: $(COBJS) $(CPPOBJS) ifdef SHARED - $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS) + $(CXX) $(LDFLAGS) $(LIBPATH) -o $(subst /,\,$@) $(subst /,\,$(COBJS) $(CPPOBJS) $(LIBS)) -strip --strip-unneeded $@ else $(AR) rc $@ $(COBJS) $(CPPOBJS) @@ -33,8 +33,8 @@ endif ############################################## _clean_: - -cmd /c "del /q $(subst /,\,$(TARGETPATH)/*.*)" > nul - -cmd /c "rmdir /q $(subst /,\,$(TARGETPATH))" > nul + -del /q $(subst /,\,$(TARGETPATH)/*.*) > nul + -rmdir /q $(subst /,\,$(TARGETPATH)) > nul ############################################## @@ -44,14 +44,9 @@ else FLEXTLIBINST=$(FLEXTLIB) endif -$(FLEXTINC): - -cmd /c "mkdir $(subst /,\,$@)" - -$(FLEXTLIBINST): - -cmd /c "mkdir $(subst /,\,$@)" - -_install_:: $(FLEXTINC) $(FLEXTLIBINST) - _install_:: - cmd /c "copy $(subst /,\,$(TARGET) $(FLEXTLIBINST))" - -cmd /c "for %i in ($(HDRS)) do @cmd /c copy $(SRCDIR)\%i $(subst /,\,$(FLEXTPATH))" > nul + @if not exist $(subst /,\,$(FLEXTINC)) -mkdir $(subst /,\,$(FLEXTINC)) + @if not exist $(subst /,\,$(FLEXTLIBINST)) -mkdir $(subst /,\,$(FLEXTLIBINST)) + + copy $(subst /,\,$(TARGET) $(FLEXTLIBINST)) + -for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(subst /,\,$(FLEXTINC)) > nul diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/gnumake-mingw.inc index 35ffc3a4..43884e15 100644 --- a/externals/grill/flext/buildsys/win/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/gnumake-mingw.inc @@ -6,8 +6,8 @@ TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT) ############################################## -CFLAGS += -pthread -LDFLAGS += -pthread -shared +CFLAGS += +LDFLAGS += -shared ############################################## diff --git a/externals/grill/flext/buildsys/win/max/config-mingw.def b/externals/grill/flext/buildsys/win/max/config-mingw.def index d3deb574..9c9e3d4a 100644 --- a/externals/grill/flext/buildsys/win/max/config-mingw.def +++ b/externals/grill/flext/buildsys/win/max/config-mingw.def @@ -33,7 +33,7 @@ HELPPATH="%ProgramFiles%/MaxMSP 4.5/max-help/flext" # user defined compiler flags # (check if they match your system!) -UFLAGS=-msse +UFLAGS=-msse -ffast-math # user defined optimization flags # (check if they match your system!) diff --git a/externals/grill/flext/buildsys/win/pd/config-bcc.def b/externals/grill/flext/buildsys/win/pd/config-bcc.def index 97553013..e9d97eb8 100644 --- a/externals/grill/flext/buildsys/win/pd/config-bcc.def +++ b/externals/grill/flext/buildsys/win/pd/config-bcc.def @@ -1,4 +1,5 @@ -# where is PD? +# where is the PD installation? +# (this should point to the main folder, which has a "src" subfolder) PDPATH="c:\program files\pd" # where is BorlandC++? diff --git a/externals/grill/flext/buildsys/win/pd/config-cygwin.def b/externals/grill/flext/buildsys/win/pd/config-cygwin.def index 3a7098ee..d7c319e0 100644 --- a/externals/grill/flext/buildsys/win/pd/config-cygwin.def +++ b/externals/grill/flext/buildsys/win/pd/config-cygwin.def @@ -1,4 +1,5 @@ -# where is PD? +# where is the PD installation? +# (this should point to the main folder, which has a "src" subfolder) PDPATH=/cygdrive/c/programme/pd ############################################################### @@ -24,10 +25,10 @@ INSTPATH=$(PDPATH)/extra # user defined compiler flags # (check if they match your system!) -UFLAGS=-msse +UFLAGS=-msse -mfpmath=sse -ffast-math # user defined optimization flags # (check if they match your system!) OFLAGS=-O3 # optimizations for Pentium 4 -OFLAGS+=-march=pentium4 +OFLAGS+=-march=pentium4 diff --git a/externals/grill/flext/buildsys/win/pd/config-mingw.def b/externals/grill/flext/buildsys/win/pd/config-mingw.def index 6bd5b718..a4ae2f2a 100644 --- a/externals/grill/flext/buildsys/win/pd/config-mingw.def +++ b/externals/grill/flext/buildsys/win/pd/config-mingw.def @@ -1,4 +1,5 @@ -# where is PD? +# where is the PD installation? +# (this should point to the main folder, which has a "src" subfolder) PDPATH="%ProgramFiles%\pd" ############################################################### @@ -24,7 +25,7 @@ INSTPATH=$(PDPATH)\extra # user defined compiler flags # (check if they match your system!) -UFLAGS=-msse +UFLAGS=-msse -mfpmath=sse -ffast-math # user defined optimization flags # (check if they match your system!) diff --git a/externals/grill/flext/buildsys/win/pd/config-msvc.def b/externals/grill/flext/buildsys/win/pd/config-msvc.def index 830eead3..9db081e4 100644 --- a/externals/grill/flext/buildsys/win/pd/config-msvc.def +++ b/externals/grill/flext/buildsys/win/pd/config-msvc.def @@ -1,4 +1,5 @@ -# where is PD? +# where is the PD installation? +# (this should point to the main folder, which has a "src" subfolder) PDPATH="%ProgramFiles%\pd" # where is MS VC++? -- cgit v1.2.1