TARGET for target directory, and CPPFLAGS for include path.
Avoid warning about 'output' being unitialised.
Remove three more of those pesky C code lines.
Fix metacompilation of LEAVE.