COMPILER = gcc CFLAGS = -Wall LIBS = -L$(PVM_ROOT)/lib/$(PVM_ARCH) -I$(PVM_ROOT)/include -lpvm3 GLIBS = ${LIBS} -lgpvm3 EXES = hello hello_other all: ${EXES} hello: hello.c ${COMPILER} ${CFLAGS} hello.c $(LIBS) -o hello hello_other: hello_other.c ${COMPILER} ${CFLAGS} hello_other.c $(LIBS) -o hello_other host: cp -f ${EXES} ${HOME}/pvm3/bin/$(PVM_ARCH)/ clean: rm -f *~ *.o ${EXES}