Search code examples
gnu-makeclearcaseclearmake

How can I have clearmake default to GNU compatibility mode?


In a ClearCase codebase I am (unfortunately) working on, I use

clearmake -C gnu

to build. Can I somehow make GNU the default compatibility mode, so that I don't have to remember to type the extra argument?


Solution

  • The clearmake man page includes:

    Alternatively, you can use environment variable CCASE_MAKE_COMPAT in a BOS file or in the environment to specify a compatibility mode.

    So:

    export CCASE_MAKE_COMPAT=gnu