new makefile rules for -l preference order