diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-08-01 11:51:30 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-08-01 11:51:30 +0000 |
commit | 367019514f0f39144c17878213cf92a9de991d27 (patch) | |
tree | 1e63b768d762b4e0cd44c90df00265517d00b784 /externals/grill/flext/buildsys/win | |
parent | 912aaf0ae7b87c2f01e1be2734447deb99ba6358 (diff) |
*** empty log message ***
svn path=/trunk/; revision=3398
Diffstat (limited to 'externals/grill/flext/buildsys/win')
-rw-r--r-- | externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc | 2 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/win/gnumake-mingw.inc | 2 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/win/max/gnumake-mingw.inc | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc b/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc index 8044d19b..3a998a5d 100644 --- a/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc +++ b/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc @@ -32,7 +32,7 @@ $(TARGETPATH)/%.o : $(SRCDIR)/%.c $(TARGET) :: $(TARGETPATH) $(TARGET) :: $(COBJS) $(CPPOBJS) - $(CXX) $(LDFLAGS) $(subst \,/,$(LIBPATH)) -o $(subst /,\,$@) $(subst /,\,$(COBJS) $(CPPOBJS) $(LIBS)) + $(CXX) $(LDFLAGS) $(subst \,/,$(LIBPATH)) -o $(subst /,\,$@) $(subst /,\,$(COBJS) $(CPPOBJS) $(LIBS) $(SYSLIBS)) -strip --strip-unneeded $@ ############################################## diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/gnumake-mingw.inc index 5f9e3633..82ee4381 100644 --- a/externals/grill/flext/buildsys/win/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/gnumake-mingw.inc @@ -7,7 +7,7 @@ TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT) ############################################## CFLAGS += -mms-bitfields -mno-cygwin -LDFLAGS += -shared -mno-cygwin +LDFLAGS += -shared -mno-cygwin ############################################## diff --git a/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc index 26e234c8..28685d7e 100644 --- a/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc @@ -2,9 +2,11 @@ DEFS += -DFLEXT_SYS=1 # fpack-struct should align to 2 bytes... can't specify that... CFLAGS += -DWINVER=0x0501 -D_WIN32_WINNT=0x501 +# suppress multiple symbol errors +LDFLAGS += -Wl,--allow-multiple-definition INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes LIBPATH += -L$(MAXSDKPATH)/max-includes -L$(MAXSDKPATH)/msp-includes # these are both in MAXSDKPATH -LIBS += -lMaxAPI -lMaxAudio +SYSLIBS += -lMaxAPI -lMaxAudio |