On Tue Nov 20 11:04:25 2012, [email protected] (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

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to