test/Makefile: add rule to produce a .dbg file