Makefile.svn-base 643 B

1234567891011121314151617181920212223
  1. include ../config/make.def
  2. # Note that COMPILE is also defined in make.common and should
  3. # be the same. We can't include make.common because it has a lot
  4. # of other garbage. LINK is not defined in make.common because
  5. # ${MPI_LIB} needs to go at the end of the line.
  6. FCOMPILE = $(MPIF77) -c $(FMPI_INC) $(FFLAGS)
  7. all: setparams
  8. # setparams creates an npbparam.h file for each benchmark
  9. # configuration. npbparams.h also contains info about how a benchmark
  10. # was compiled and linked
  11. setparams: setparams.c ../config/make.def
  12. gcc ${CONVERTFLAG} -o setparams setparams.c
  13. clean:
  14. -rm -f setparams setparams.h npbparams.h
  15. -rm -f *~ *.o