delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/25/13:48:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <0ccb01bf7fc1$179fd670$623567c0@isi.com>
From: "Prabhakar Goyal" <pgoyal AT isi DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: weird gmake behaviour
Date: Fri, 25 Feb 2000 10:49:48 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

When using following makefile, if obj directory is present, gmake uses the
explicit rule to make the obj/xx.flags. If there is no obj directory it uses
implicit rule. Possibly a gmake bug?


thanks.,
Prabhakar


all : xx.exe

OBJ_DIR=obj/

%.exe : $(OBJ_DIR)%.flags
    echo "Making $<"

$(OBJ_DIR)xx.flags :
    echo "explicit"

$(OBJ_DIR)%.flags :
    echo "implicit"




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019