help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignored implicit rule


From: Der Herr Hofrat
Subject: Re: Ignored implicit rule
Date: Tue, 7 Jan 2003 21:23:56 +0100 (CET)

> Hello
> 
> I inherited a Solaris Makefile and am converting it to run on Linux 
> gmake.  I have a Makefile that includes the rule:
> %.o : %.pl
>          $(CP) $< $*.o
>          @echo
> (I changed it from a suffix to an implicit rule)
> 
> This rule simply renames a perl script.  When I type make -r I get:
> #--------------------------------------------------
> # Building nvo_extract_flux
> #--------------------------------------------------
> # makeall = announce   nvo_extract_flux
> # SCRIPTS = nvo_extract_flux.pl
> # script_exec = nvo_extract_flux
> make: *** No rule to make target `.o', needed by `nvo_extract_flux'.  Stop.

any chance $(CP) is the empty string ??

try putting a 

CP=cp

into that Makefile.

hofrat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]