help-make
[Top][All Lists]
Advanced

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

Re: help with implicit rules


From: Reinier Post
Subject: Re: help with implicit rules
Date: Tue, 20 Nov 2012 17:53:01 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue Nov 20 11:04:25 2012, address@hidden (Kosala Atapattu) wrote:
> Hi All,

[...]
> <Makefile>
[...] 
> %.html : %.page
>         echo $<
>         perl compile_page.pl -T template/main.tpl -o $@ $<
> 
> </Makefile>
> 
> What did I do wrong here.. according to the doc I should be able to do this
> rt?

Looks OK, but you'll need to invoke make with the name(s)
of the file(s) you want to make, or add a default rule.
This one may work (untested):

  all : $(*.page:.page=.html)

> Ko

-- 
Reinier



reply via email to

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