[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Include files
From: |
Noel Yap |
Subject: |
Re: Include files |
Date: |
Mon, 24 Nov 2003 18:42:27 -0500 |
ifneq ($(filter all,$(MAKECMDGOALS)),)
include $(DEPEND_FILE)
endif
HTH,
Noel
address@hidden wrote:
>
> I have a make file has the following statement
>
> include $(DEPEND_FILE)
>
> Due to some other changes in the build procedure, I only want to include
> this file
> if the target is "all". If it is "clean", "report", "sloc", etc I DO NOT
> want to
> include this file.
>
> I could find no variable that show the current target outside of a target.
>
> Is there an easy way to do this with an if statement?
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-make
--
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
- Include files, William . Peets, 2003/11/24
- Re: Include files,
Noel Yap <=