help-make
[Top][All Lists]
Advanced

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

Re: Gnu make-isms


From: Angus Leeming
Subject: Re: Gnu make-isms
Date: Wed, 03 Dec 2003 20:51:00 +0000
User-agent: KNode/0.7.1

Angus Leeming wrote:

> SUFFIX = .ui
> .ui.C:
>         HEADER_FILE=$*.h; \
>         $(UIC) $(UICFLAGS) $< -o $(HEADER_FILE); \
>         $(UIC) $(UICFLAGS) -impl $(HEADER_FILE) $< -o $@

Hmmm. gnu make of course requires that this be
        HEADER_FILE=$*.h; \
        $(UIC) $(UICFLAGS) $< -o $${HEADER_FILE}; \
        $(UIC) $(UICFLAGS) -impl $${HEADER_FILE} $< -o $@
A







reply via email to

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