#------------------------------------------------------------------------- # Makefile targets common to all of the decoders. #------------------------------------------------------------------------- all: init ${DECODER}: ${OBJS} ${FC} ${LDFLAGS} ${LDFLAGS_XT} -o ../exec/${@} \ ${OBJS} ${LIBS} ${LIBS_XT} ${DECOD_BUFR} make clean init: ${SHELL} -c "module purge >& /dev/null; \ module use -a ${DECOD_INCLUDE}/../lib/modulefiles; \ module load ${MODULES}; \ make ${DECODER}" clean: rm -f ${OBJS} clobber: clean -rm -f ../exec/${DECODER}