this is a make function
http://www.gnu.org/software/make/manual/html_node/File-Name-Functions.html