help-make
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Adding new prerequisites to a target
From
:
Bhaskar G
Subject
:
Adding new prerequisites to a target
Date
:
Tue, 30 Aug 2005 17:08:55 +0530
Hi,
I would like to add a new prerequisite to the rule all, I can achieve this as mentioned below. I would like
to know if there is any other way around to achieve this. I am using gmake 3.80 in linux.
gmake -f bg1.mk NEWRULE=c
a
b
c
all
gmake NEWRULE=c
all: a b $(NEWRULE)
@echo $@
a b:
@echo $@
$(NEWRULE):
@echo $@
Thanks and Regards,
Bhaskar
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
Question on ifeq ()
,
Bhaskar G
,
2005/08/29
Re: Question on ifeq ()
,
Paul D. Smith
,
2005/08/29
Adding new prerequisites to a target
,
Bhaskar G
<=
Re: Adding new prerequisites to a target
,
John Graham-Cumming
,
2005/08/30
Re: Adding new prerequisites to a target
,
Paul D. Smith
,
2005/08/30
Re: Question on ifeq ()
,
John Graham-Cumming
,
2005/08/30
Prev by Date:
Background process
Next by Date:
Re: Adding new prerequisites to a target
Previous by thread:
Re: Question on ifeq ()
Next by thread:
Re: Adding new prerequisites to a target
Index(es):
Date
Thread