Added SQL hook to makefile.