Difference between CPPFLAGS and CXXFLAGS in GNU Make

前端 未结 4 397
面向向阳花
面向向阳花 2020-11-28 18:37

What\'s the difference between CPPFLAGS and CXXFLAGS in GNU Make?

4条回答
  •  囚心锁ツ
    2020-11-28 19:24

    By default, CPPFLAGS will be given to the C preprocessor, while CXXFLAGS will be given to the C++ compiler.

    The GNU Make Manual is a good resource for questions like this (see Implicit Variables).

提交回复
热议问题