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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Jul 27 18:14:18 EDT 2010


Author: matju
Date: Tue Jul 27 18:14:17 2010
New Revision: 5791

Log:
separate compilation of gem module

Modified:
    trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Tue Jul 27 18:14:17 2010
@@ -1,7 +1,7 @@
 #!/usr/bin/make
 
 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
 
@@ -36,7 +36,6 @@
     endif
   endif
 endif
-PD_LIB = gridflow$(PDSUF)
 
 # this fixes a bug with g++ and objective-c include paths on OSX
 ifeq ($(CPLUS_INCLUDE_PATH),)
@@ -45,7 +44,7 @@
   SNAFU = $(subst :, -I,:$(CPLUS_INCLUDE_PATH))
 endif
 
-all:: $(PD_LIB) aliases
+all:: $(PDLIB) aliases
 
 .SUFFIXES:
 
@@ -84,8 +83,16 @@
 src/mmx.o: src/mmx.asm
 	nasm -f elf src/mmx.asm -o src/mmx.o
 
-$(PD_LIB): $(OBJS2) $(OBJS) $(H) $(COMMON_DEPS)
+PDLIB1 = gridflow$(PDSUF)
+$(PDLIB1): $(OBJS2) $(OBJS) $(H) $(COMMON_DEPS)
 	$(CXX) -DPDSUF=\"$(PDSUF)\" $(CFLAGS) $(PDBUNDLEFLAGS) $(LIBPATH) -xnone $(OBJS2) $(OBJS) $(LDSOFLAGS) -o $@
+
+gridflow-gem9292$(PDSUF): src/gem.cxx.fcs $(H) $(COMMON_DEPS)
+	$(CXX) $(CFLAGS) $(PDBUNDLEFLAGS) $(LIBPATH)                              -xc++ src/gem.cxx.fcs -o $@
+gridflow-gem9293$(PDSUF): src/gem.cxx.fcs $(H) $(COMMON_DEPS)
+	$(CXX) $(CFLAGS) $(PDBUNDLEFLAGS) $(LIBPATH) -DGEMSTATE93                 -xc++ src/gem.cxx.fcs -o $@
+gridflow-gem9393$(PDSUF): src/gem.cxx.fcs $(H) $(COMMON_DEPS)
+	$(CXX) $(CFLAGS) $(PDBUNDLEFLAGS) $(LIBPATH) -DGEMSTATE93 -DIMAGESTRUCT93 -xc++ src/gem.cxx.fcs -o $@
 
 beep::
 	@for z in 1 2 3 4 5; do echo -ne '\a'; sleep 1; done



More information about the Gridflow-cvs mailing list