Add 'prepare' target

Signed-off-by: Ulf Samuelsson <ulf@emagii.com>