Re: GNU Make

From: Paul D. Smith (psmith_at_gnu.org)
Date: 06/25/04

  • Next message: Jakir: "Re: GNU Make"
    Date: 24 Jun 2004 18:32:47 -0400
    
    

    %% jakir@coolgoose.com (Jakir) writes:

      j> I have a make file say makefile which contains

      j> SUBDIRS=lib bin
      j> include sub.rule

      j> The sub.rule file contains

      j> $(SUBDIRS:=.all):
      j> @echo "echo cd $(@:.all=)"

      j> The Syntax := is recursively expanded. I want to replace that, the
      j> output with the new syntax should be similar to what the previous
      j> syntax had.

    Sorry, I have no idea what you're trying to do here. Your comment ":=
    is recursively expanded" doesn't make sense to me..

    Can you be more specific? What's wrong with this syntax, and what do
    you want the new syntax to do?

    -- 
    -------------------------------------------------------------------------------
     Paul D. Smith <psmith@gnu.org>          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
    

  • Next message: Jakir: "Re: GNU Make"

    Relevant Pages