Program mod.: add compile and link support

Not tested