General Makefile rule for making ls.txt files