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
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to