make
  url
  info
  if
組込変数
    接尾辞規則
    Pattern Rules
    Substitution References

Last Update: "2010/04/16 08:29:12 makoto"

if

例えば BSD make では条件付の設定は次のように書ける
.if "$(OPSYS)" == "NetBSD"
SHARED  = -shared -nodefaultlibs -Xlinker -shared       # NETBSD
STDLIB  = -ll                   # NETBSD
.endif
これを gmake だと次のように書きます。
(一般形)
ifeq ($(strip $(foo)),)
text-if-empty
endif
Last Update: Thu, 15 Apr 2010 23:41:48 GMT 1.1.1.1 2008/03/12