fix nipap/sql/Makefile

This should fix some problems in the Makefile.
Why is -f changed to "<" ?
I think it's rather nice to pass a filename rather than let the shell do input redirection.