2
0

Makefile 315 B

123456789
  1. psnr: psnr.cc ssim.cc psnr_main.cc
  2. ifeq ($(CXX),icl)
  3. $(CXX) /arch:SSE2 /Ox /openmp psnr.cc ssim.cc psnr_main.cc
  4. else
  5. $(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all
  6. endif
  7. # for MacOS
  8. # /usr/local/bin/g++-7 -msse2 -O3 -fopenmp -Bstatic -o psnr psnr.cc ssim.cc psnr_main.cc