Remove precompiled headers on 'make clean' and add 'mostlyclean' target that does not touch them

Originally committed to SVN as r6199.
This commit is contained in:
Thomas Goyne 2012-01-08 01:03:53 +00:00
parent c4251bd181
commit 3d906ded47
1 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,12 @@ $(PROGRAM): $(OBJ)
########## ##########
clean: $(SUBDIRS) clean: $(SUBDIRS)
$(BIN_RM) -f $(OBJ) $(CLEANFILES) $(LIB) $(LIB_SHARED) $(PROGRAM) $(BIN_RM) -f $(OBJ) $(CLEANFILES) $(LIB) $(LIB_SHARED) $(PROGRAM)
ifdef PRECOMPILED_HEADER_NAME
$(BIN_RM) -f $(PRECOMPILED_HEADER_NAME).gch
endif
mostlyclean: $(SUBDIRS)
$(BIN_RM) -f $(OBJ) $(CLEANFILES) $(LIB) $(LIB_SHARED) $(PROGRAM)
distclean: clean distclean: clean
$(BIN_RM) -rf $(DISTCLEANFILES) $(DEP) $(BIN_RM) -rf $(DISTCLEANFILES) $(DEP)