rules.mk: Beautify targets depend and clean

- Target depend: Remove obnoxious "non-portable whitespace" warning
  - Target clean: Remove valgrind vgcore files, too
This commit is contained in:
Jan Lindemann 2006-02-11 16:10:52 +00:00 committed by Jan Lindemann
commit fff821a3c2

View file

@ -185,7 +185,7 @@ install_profile_path: $(INSTALLED_PROFILE_PATH_SCRIPT)
endif endif
depend.mk: $(SRC_ALL_CPP) depend.mk: $(SRC_ALL_CPP)
> $@ && makedepend -f depend.mk -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(SRC_ALL_CPP) > $@ && makedepend -f depend.mk -- $(CPPFLAGS) $(DEPEND_CPPFLAGS) -- $(SRC_ALL_CPP) 2>&1 | sed '/non-portable whitespace/ d'
depend: depend.mk depend: depend.mk
@ -209,7 +209,7 @@ tmpclean:
rm -rf *.tmp *.rep rm -rf *.tmp *.rep
objclean: objclean:
rm -rf core core.* .*.o *.o *.a *.so *.so.* rm -rf core core.* vgcore vgcore.* .*.o *.o *.a *.so *.so.*
depclean: depclean:
rm -f depend.mk *.bak rm -f depend.mk *.bak