[Top][All Lists]
[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
- How to test if a variable is something or empty?,
Peng Yu <=