help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to test if a variable is something or empty?


From: Peng Yu
Subject: How to test if a variable is something or empty?
Date: Fri, 24 Oct 2008 15:59:30 -0500

Hi,

I have the following code. I'm wondering how to put them together into
one if statement?

ifeq ($(MAKECMDGOALS), all)
-include .dep
endif

ifeq ($(MAKECMDGOALS), )
-include .dep
endif

Thanks,
Peng




reply via email to

[Prev in Thread] Current Thread [Next in Thread]