
PROG := compute_normals_simple3
VERSION_DIR := ${shell cd ../.. && pwd}

RFVS_LIBS := \
  libraab.a \
  libgeo.a \
  libimg.a \
  libjspnm.a \
  libjs.a

OTHER_LD_FLAGS := \
  -pg

include ../../../GENERIC-PROGS.make

${PROG}.o:  ${RFVS_INC_DIR}/. ${HFILES} ${PROG}.c              

${PROG}: ${PROG}.o ${LIB_OFILES} ${RFVS_LIB_DIR}/.

run_3:
	${VERSION_DIR}/bin/${PROG}  out/test3 out/test3 param_test3.txt RGB
	${VERSION_DIR}/bin/normal_map_to_pnm out/test30-normais.ivet out/test3-R.ppm
	${VERSION_DIR}/bin/normal_map_to_pnm out/test31-normais.ivet out/test3-G.ppm
	${VERSION_DIR}/bin/normal_map_to_pnm out/test32-normais.ivet out/test3-B.ppm
	${VERSION_DIR}/bin/normal_map_to_pnm out/test33-normais.ivet out/test3-RGB.ppm
	display out/test3*.ppm