remove unneeded patterns from makefile