PETSC_DIR = /cineca/prod/libraries/PETSc/3.3-p2-dbg/openmpi--1.4.4-dbg--intel--co-2011.6.233--binary PETSC_ARCH = linux-intel ALL: 1_petsc_hello 2_petsc_vec 3_petsc_mat #ALL: 3_petsc_mat #CFLAGS = -g -O0 CFLAGS = CPPFLAGS = CLEANFILES = 1_petsc_hello 2_petsc_vec 3_petsc_mat include ${PETSC_DIR}/conf/variables include ${PETSC_DIR}/conf/rules 1_petsc_hello: 1_petsc_hello.o chkopts @echo "--> Linking the executable... <--" -${CLINKER} -o 1_petsc_hello 1_petsc_hello.o ${PETSC_KSP_LIB} ${RM} 1_petsc_hello.o @echo "-->...done. <--" 2_petsc_vec: 2_petsc_vec.o chkopts @echo "--> Linking the executable... <--" -${CLINKER} -o 2_petsc_vec 2_petsc_vec.o ${PETSC_KSP_LIB} ${RM} 2_petsc_vec.o @echo "-->...done. <--" 3_petsc_mat: 3_petsc_mat.o chkopts @echo "--> Linking the executable... <--" -${CLINKER} -o 3_petsc_mat 3_petsc_mat.o ${PETSC_KSP_LIB} ${RM} 3_petsc_mat.o @echo "-->...done. <--"