From 1611d50c03d8f79560ffc3bc63c268894f411abc Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 3 Jan 2005 05:00:31 +0000 Subject: updated make system build system for OSX simplified make system reconsidered flext::buffer:Update added object construction and destruction flags updated build system svn path=/trunk/; revision=2447 --- .../grill/flext/buildsys/win/gnumake-mingw.inc | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 externals/grill/flext/buildsys/win/gnumake-mingw.inc (limited to 'externals/grill/flext/buildsys/win/gnumake-mingw.inc') diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/gnumake-mingw.inc new file mode 100644 index 00000000..7a8aab9c --- /dev/null +++ b/externals/grill/flext/buildsys/win/gnumake-mingw.inc @@ -0,0 +1,24 @@ +############################################## + +TARGETPATH=$(OUTPATH)\$(OUTSUB) +TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT) + +############################################## + +LDFLAGS += -shared -Wl,-x + +############################################## + +ifdef DEBUG +CFLAGS += -g -D_DEBUG +else +CFLAGS += $(OFLAGS) -DNDEBUG +LDFLAGS += -Wl,-S +endif + +############################################## + +CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS))) +CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS))) +COBJS=$(patsubst %.c,$(TARGETPATH)/%.o,$(filter %.c,$(SRCS))) +CPPOBJS=$(patsubst %.cpp,$(TARGETPATH)/%.opp,$(filter %.cpp,$(SRCS))) -- cgit v1.2.1