3 ms·
No, Bercause MakeMake cant know what defines are made by the compiler on the system. MakeMake may not even run on the same system as the resulting makefile will
by quelsolaar 3y ago
No, Bercause MakeMake cant know what defines are made by the compiler on the system. MakeMake may not even run on the same system as the resulting makefile will be used on.
This means that all source code files has to be compilable on all platforms, and thats good practice anyways, so thats not a problem for me.
The makemake pragma lets you define platform specific build options.
- bregma 3y ago> This means that all source code files has to be compilable on all platforms And then it hits the real world and you need to switch to a tool that handles it.
- quelsolaar 3y agoI have no problem putting ifdefs around my platform specific code.