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:
parent
c4251bd181
commit
3d906ded47
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,12 @@ $(PROGRAM): $(OBJ)
|
|||
##########
|
||||
clean: $(SUBDIRS)
|
||||
$(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
|
||||
$(BIN_RM) -rf $(DISTCLEANFILES) $(DEP)
|
||||
|
|
Loading…
Reference in a new issue