On Wed, Jun 9, 2010 at 8:06 PM, Philip Guenther <[email protected]> wrote:
>> Am I missing something?
>
> Yes: second expansion:
>
> .SECONDEXPANSION:
> %.fnt: $$(basename $$(subst _,.,$$*)).otf
> fontgen -p $(patsubst .%,%,$(suffix $(subst _,.,$*))) $< $@
>
> The other tricky thing there is that $(suffix) and $(basename) do
> something that $(patsubst) can't.
Ah. thanks. I knew there had to be a more elegant way.
Todd.
--
Todd Showalter, President,
Electron Jump Games, Inc.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make