Quantcast
Channel: How to have config option in Makefile - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by dash-o for How to have config option in Makefile

If the config file follows the Makefile rules (var=value), you can use include In your Makefile: CONFIG = default.config include ${CONFIG} ifdef (... test on CONFIG setting) endif When make is invoked...

View Article



How to have config option in Makefile

My main project directory has 4 sub-directories and each sub directory has some .c and .S files. I have written only one Makefile outside which contains lines like this: ... AS_SRC= $(wildcard...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images