makefile: fix make me a sandwich target

Fixes #1039