Makefile 340 B

12345678910111213
  1. # Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
  2. CC := pgc++
  3. CFLAGS := -O3 -w -ldl
  4. ACCFLAGS := -Minfo=accel
  5. NVTXLIB := -I/opt/nvidia/hpc_sdk/Linux_x86_64/20.9/cuda/11.0/include
  6. miniWeather: miniWeather_serial.cpp
  7. ${CC} ${CFLAGS} ${ACCFLAGS} -o miniWeather miniWeather_serial.cpp ${NVTXLIB}
  8. clean:
  9. rm -f *.o miniWeather