Skip to content
Search

Make:ConditionSetting

lastmod 2018-08-17created 2018-06-171 edits

Conditionals in Make use three directives.

  • ifeq, which marks the start of a condition
  • else, which represents the other condition
  • endif, which marks the end of a condition.

Syntax

The basic syntax is as follows.

ifeq (<VALUE>,<CHECK>)
<COMMAND>
else
<COMMAND>
endif

See also

Make