#! /bin/sed -f # pipe a makefile through this, e.g. in vi... # it will remove all of the dependencies on header files in /usr/include, # which make Makefiles non-portable. /# DO NOT DELETE THIS LINE -- mkdep uses it./,${ /:/s@/usr/include/[^ ][^ ]*\.h *@@g /^[^:]*:[ ]*$/d }