[MOAB-dev] r4159 - MOAB/trunk/test/perf

tautges at mcs.anl.gov tautges at mcs.anl.gov
Sat Sep 25 10:27:04 CDT 2010


Author: tautges
Date: 2010-09-25 10:27:03 -0500 (Sat, 25 Sep 2010)
New Revision: 4159

Added:
   MOAB/trunk/test/perf/Makefile.otherimpl
Log:
Adding Makefile that works with other implementations, as long as user points to IMESH_DIR.



Added: MOAB/trunk/test/perf/Makefile.otherimpl
===================================================================
--- MOAB/trunk/test/perf/Makefile.otherimpl	                        (rev 0)
+++ MOAB/trunk/test/perf/Makefile.otherimpl	2010-09-25 15:27:03 UTC (rev 4159)
@@ -0,0 +1,28 @@
+#
+# This makefile can be used without using autoconf,
+# as long as you have IMESH_DIR set to the location
+# of the IMESH implementation you're using and 
+# F77, FC, CC, and CXX point to the appropriate compilers
+#
+
+include ${IMESH_DIR}/lib/iMesh-Defs.inc
+
+default: tstt_perf_binding
+
+tstt_perf_binding: tstt_perf_binding.o
+	${CXX} ${LFLAGS} -o $@ $< -Wl,-Bstatic ${IMESH_LIBS} -Wl,-Bdynamic
+
+.SUFFIXES: .F90 .F .c .cpp
+
+.F90.o:
+	${FC} -c ${IMESH_FCFLAGS} ${IMESH_INCLUDES} ${FCFLAGS} $<
+
+.F.o:
+	${F77} -c ${IMESH_FFLAGS} ${IMESH_INCLUDES} ${FFLAGS} $<
+
+.c.o:
+	${CC} -c ${IMESH_CFLAGS} ${IMESH_INCLUDES} ${CFLAGS} $<
+
+.cpp.o: ${IMESH_DIR}/lib/iMesh-Defs.inc
+	${CXX} -c ${IMESH_CXXFLAGS} ${IMESH_INCLUDES} ${CXXFLAGS} $<
+




















More information about the moab-dev mailing list