Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added a version of DT with RAM folding.
[simgrid.git] / examples / smpi / NAS / DT-folding / Makefile
diff --git a/examples/smpi/NAS/DT-folding/Makefile b/examples/smpi/NAS/DT-folding/Makefile
new file mode 100644 (file)
index 0000000..d1b3702
--- /dev/null
@@ -0,0 +1,26 @@
+SHELL=/bin/sh
+BENCHMARK=dt
+BENCHMARKU=DT
+
+include ../config/make.def
+
+include ../sys/make.common
+#Override PROGRAM
+DTPROGRAM  = $(BINDIR)/$(BENCHMARK)-folding.$(CLASS)
+
+OBJS = dt.o DGraph.o \
+       ${COMMON}/c_print_results.o ${COMMON}/c_timers.o ${COMMON}/c_randdp.o
+
+
+${PROGRAM}: config ${OBJS}
+       ${CLINK} ${CLINKFLAGS} -o ${DTPROGRAM} ${OBJS} ${CMPI_LIB}
+
+.c.o:
+       ${CCOMPILE} $<
+
+dt.o:             dt.c  npbparams.h
+DGraph.o:      DGraph.c DGraph.h
+
+clean:
+       - rm -f *.o *~ mputil*
+       - rm -f dt npbparams.h core