[Gridflow-cvs] [svn] commit: r4925 - /trunk/Makefile

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Jan 24 18:52:20 EST 2010


Author: matju
Date: Sun Jan 24 18:52:19 2010
New Revision: 4925

Log:
win32

Modified:
    trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sun Jan 24 18:52:19 2010
@@ -2,21 +2,21 @@
 # $Id$
 
 include config.make
-# COMMON_DEPS = config.make Makefile src/source_filter.rb
+COMMON_DEPS = config.make Makefile src/source_filter.rb
 COMMON_DEPS2 = $(COMMON_DEPS) src/gridflow.hxx.fcs
 RUBY = ruby
 
 SHELL = /bin/sh
 LDSHARED = $(CXX) $(PDBUNDLEFLAGS)
 RM = rm -f
-CFLAGS += -Wall -Wno-unused -Wunused-variable -g -fPIC -I.
+CFLAGS += -Wall -Wno-unused -Wunused-variable -g -I.
 
 LDSOFLAGS += -lm $(LIBS)
 OBJS2 = src/gridflow.o src/grid.o src/classes1.o src/classes2.o src/number.1.o src/number.2.o src/number.3.o src/number.4.o src/formats.o
 OS = $(shell uname -s | sed -e 's/^MINGW.*/nt/')
 FILT = $(RUBY) -w src/source_filter.rb
 ifeq ($(OS),darwin)
-  CFLAGS += -mmacosx-version-min=10.4
+  CFLAGS += -mmacosx-version-min=10.4 -fPIC
   LDSOFLAGS += -headerpad_max_install_names
   PDSUF = .pd_darwin
   PDBUNDLEFLAGS = -bundle -flat_namespace -undefined suppress
@@ -25,10 +25,11 @@
     PDSUF = .dll
     PDBUNDLEFLAGS = -shared
     LDSOFLAGS += -L/c/Program\ Files/pd/bin -lpd
-    CFLAGS += -DDES_BUGS -mms-bitfields
+    #CFLAGS += -DDES_BUGS
+    CFLAGS += -mms-bitfields
   else
     PDSUF = .pd_linux
-    PDBUNDLEFLAGS = -shared -rdynamic
+    PDBUNDLEFLAGS = -shared -rdynamic -fPIC
   endif
 endif
 PD_LIB = gridflow$(PDSUF)



More information about the Gridflow-cvs mailing list