Src=best all : $(Src) $(Src) : $(Src).awk ( echo "#!`which gawk` -f " ; cat $(Src).awk ) > $(Src) chmod +x $(Src)