Makefile 275 B

123456789101112
  1. # Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
  2. CC := nvc++
  3. CFLAGS := -O3 -w
  4. ACCFLAGS := -ta=tesla:managed -Minfo=accel
  5. miniWeather: miniWeather_openacc.cpp
  6. ${CC} ${CFLAGS} ${ACCFLAGS} -o miniWeather miniWeather_openacc.cpp
  7. clean:
  8. rm -f *.o miniWeather