# This makefile is used only once to compile HDF4.1r3 and forget about it. default : if test ! -d HDF4.1r3 ; then \ tar xvzf HDF4.1r3.tgz ; \ cd HDF4.1r3/ ; ./configure --prefix=${PWD} ; \ make ; make install ; cd .. ; \ fi # This target is used if you have to recompile HDF4.1r3 after the first installation. lib : if test -d HDF4.1r3 ; then \ cd HDF4.1r3 ; make ; make install ; cd .. ; \ fi clean : if test -d HDF4.1r3 ; then \ cd HDF4.1r3 ; make clean ; cd .. ; \ fi distclean : /bin/rm -rf bin/ lib/ include/ man/ HDF4.1r3/