# HG changeset patch # User neelin # Date 853272984 0 # Node ID b22b17274fe11b2dbde422c356c4928f3d4cc2cb # Parent 38766d118f10253cf9359e86cdd16585b66424e4 Modified mostlyclean target to leave jacket object file for library. diff --git a/fortran/Makefile b/fortran/Makefile --- a/fortran/Makefile +++ b/fortran/Makefile @@ -71,8 +71,13 @@ $(RANLIB) $(CC_MINC_LIB) +# Remove most derived files in this directory - leave jacket obj for library +mostlyclean: + $(RM) $(RM_FLAGS) $(JACKETS_C) $(JACKETS_LN) \ + $(PROGS) $(PROG_OBJ) + # Remove all derived files in this directory -mostlyclean clean: +clean: $(RM) $(RM_FLAGS) $(JACKETS_C) $(JACKETS_OBJ) $(JACKETS_LN) \ $(PROGS) $(PROG_OBJ)