[cig-commits] r4720 - mc/3D/CitcomCU/trunk/src

tan2 at geodynamics.org tan2 at geodynamics.org
Fri Oct 6 13:48:02 PDT 2006


Author: tan2
Date: 2006-10-06 13:48:02 -0700 (Fri, 06 Oct 2006)
New Revision: 4720

Modified:
   mc/3D/CitcomCU/trunk/src/Makefile
Log:
Changed the layout of the comments and actions

Modified: mc/3D/CitcomCU/trunk/src/Makefile
===================================================================
--- mc/3D/CitcomCU/trunk/src/Makefile	2006-10-06 20:18:08 UTC (rev 4719)
+++ mc/3D/CitcomCU/trunk/src/Makefile	2006-10-06 20:48:02 UTC (rev 4720)
@@ -4,11 +4,13 @@
 
 #
 #  NOTES:
-#  1) Macro substitution is different for different version of make, for SGI, CRAY, HP
-#  It seems necessary to go through and replace the CEXT ... FOBJFLAG macros manually.
+#  1) Macro substitution is different for different version of make, for SGI,
+#     CRAY, HP, etc. It seems necessary to go through and replace the
+#     CEXT ... FOBJFLAG macros manually.
 #
-#  2) Put FLAGS=$(YOUR_MACHINE_FLAGS) chosen from the list that follows, add machines
-#  where necessary, try and find a better way than just defining "const" to be null. 
+#  2) Put FLAGS=$(YOUR_MACHINE_FLAGS) chosen from the list that follows, add
+#     machines, where necessary, try and find a better way than just defining
+#     "const" to be null. 
 #
 ##############################################################################
 #	Individual Machine Variations
@@ -176,12 +178,26 @@
 
 default: citcom.mpi
 
+citcom.mpi: $(OBJFILES) $(HEADER) Makefile
+	$(CC) $(OPTIM) $(FLAGS) $(LDFLAGS) -o citcom.mpi $(OBJFILES)  $(FFTLIB)  $(LIB)
+
 clean:
 	rm -f *.o
 
 clean-all:
 	rm -f *.o citcom.mpi
 
+smaller: 
+	compress $(CFILES)
+
+larger:
+	uncompress $(CFILES)
+
+
+####################################################################
+# File dependencies follow
+####################################################################
+
 global_defs.h: viscosity_descriptions.h advection.h Convection_variables.h
 		
 # The following entries can probably be automated from $CFILES etc
@@ -272,19 +288,9 @@
 
 Viscosity_structures.o: $(HEADER) Viscosity_structures.c
 	$(CC) $(OPTIM) $(FLAGS)  $(OBJFLAG)  Viscosity_structures.c
-	
 
 Blas_lapack_interfaces.f: Blas_lapack_interfaces.F
 	$(CPP) $(OPTIM) -P Blas_lapack_interfaces.F Blas_lapack_interfaces.f
 	$(F77) $(OPTIM) $(FOPTIM) -c Blas_lapack_interfaces.f
-	
 
-smaller: 
-	compress $(CFILES)
 
-larger:
-	uncompress $(CFILES)
-
-
-citcom.mpi: $(OBJFILES)  $(HEADER) Makefile
-	$(CC) $(OPTIM) $(FLAGS) $(LDFLAGS) -o citcom.mpi $(OBJFILES)  $(FFTLIB)  $(LIB)



More information about the cig-commits mailing list