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

Last Update: "2014/08/05 15:07:33 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
http://www.nondot.org/sabre/Mirrored/GNUMake/make_7.html
Last Update: Fri, 07 Jul 2023 03:21:29 GMT 1.66 2008/03/08