AmigaLabs / clib4

Clib4 for AmigaOS4
Other
14 stars 7 forks source link

Added some targets that are PHONY targets. The checking of the existe… #158

Closed 3246251196 closed 12 months ago

3246251196 commented 12 months ago

…nce of the already existing cross compiler and the SDK include path should only happen when it is necessary. The checking has been moved into the 'prepare' rule since that is prequisite for actually building clib4. Before this commit, it would mean that you would have to provide a valid cross-compiler to be available on the PATH even if you just wanted to make 'clean'.

The alternative is to not be so helpful and just let the whole thing fail a little more obscurely.

See also: https://github.com/afxgroup/clib2/issues/157

This is the fix for that.