help-make
[Top][All Lists]
Advanced

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

Re: Gnu make-isms


From: Paul D. Smith
Subject: Re: Gnu make-isms
Date: Thu, 4 Dec 2003 09:38:33 -0500

%% Angus Leeming <address@hidden> writes:

  al> Angus Leeming wrote:

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

  al> Hmmm. gnu make of course requires that this be

  al>         HEADER_FILE=$*.h; \
  al>         $(UIC) $(UICFLAGS) $< -o $${HEADER_FILE}; \
  al>         $(UIC) $(UICFLAGS) -impl $${HEADER_FILE} $< -o $@

This is true of every make.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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