How to define C++ preprocessor variable in Makefile - Stack Overflow

How to define C++ preprocessor variable in Makefile - Stack Overflow

瀏覽:735
日期:2025-11-13
I have a C++ preprocessor written like this: #ifdef cpp_variable //x+y; #endif please anyone tell me how to define this in Makefile. thanks! ... You can't do this in a Makefile. However, you can do this when calling the compiler. Search your compiler docu...看更多