[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unwanted implicit rule
From: |
Nicholas Charles Leippe |
Subject: |
Re: unwanted implicit rule |
Date: |
Wed, 04 Jul 2001 15:15:29 -0600 (MDT) |
>
> You can use "make -pf/dev/null" to see the complete builtin implicit
> rules list.
>
> In there you'll find a rule "% : %.o", for building executables.
>
> You want to remove that one.
Okay, I see that rule. So I change it from
%.ui: %.ui.o
to
%: %.o
and it still does the same thing. Should I look for another
rule that is perhaps causing the match?
>
> nl> In an attempt to get rid of it, I tried adding an empty implicit
> nl> pattern rule:
>
> nl> %.ui: %.ui.o
>
> You have to actually do this with the rule it's using in order for it to
> take effect.