例:欲しい:
file1が存在する場合:
CLEAN_SRC = *.h file3
else
CLEAN_SRC =
_file1_が存在しない場合、$(wildcard file1)は空の文字列に評価されます。
file1
$(wildcard file1)
_ifeq ($(wildcard file1),) CLEAN_SRC = else CLEAN_SRC = *.h file3 endif _
ifeq ($(wildcard file1),) CLEAN_SRC = else CLEAN_SRC = *.h file3 endif