blob: 56d1c444bd865369cd51b9d50a512dcda363ab8d [file] [log] [blame]
include ../config/make.def
# Note that COMPILE is also defined in make.common and should
# be the same. We can't include make.common because it has a lot
# of other garbage. LINK is not defined in make.common because
# ${MPI_LIB} needs to go at the end of the line.
FCOMPILE = $(MPIF77) -c $(FMPI_INC) $(FFLAGS)
all: setparams
# setparams creates an npbparam.h file for each benchmark
# configuration. npbparams.h also contains info about how a benchmark
# was compiled and linked
setparams: setparams.c ../config/make.def
$(CC) ${CONVERTFLAG} -o setparams setparams.c
clean:
-rm -f setparams setparams.h npbparams.h
-rm -f *~ *.o