# Makefile to compile libraries for GRAPE SRC = ../src AUX = ../src/aux all: new libgrape: (cd ${SRC}; make install_libgrape) libaux: (cd ${AUX}; make install_libaux) fresh: cleansource (echo "objects deleted") new: (rm -f libgrape.a; make libgrape; rm -f libaux.a; make libaux) clean: cleangrape cleanaux @echo "libraries removed" cleangrape: (rm -f libgrape.a; cd ${SRC}; ${MAKE} clean) cleanaux: (rm -f libaux.a; cd ${AUX}; ${MAKE} clean)