delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/26/09:31:20

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
From: "Kevin Wright" <kwright AT uk DOT mdis DOT com>
To: "Cygwin" <cygwin AT sourceware DOT cygnus DOT com>
Subject: B20.1: make dependencies broken
Date: Wed, 26 Jan 2000 14:33:26 -0000
Message-ID: <NDBBIBEHNKCJHEABEKOHOEGCCBAA.kwright@uk.mdis.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

I've found the following problem with make on B20.1.
Try the following makefile:
------------------------------
NTTOOLSDIR = /tmp

NTTOOLS = $(NTTOOLSDIR)/f1.bat \
          $(NTTOOLSDIR)/f2.bat

All: $(NTTOOLS)

$(NTTOOLS): $(NTTOOLSDIR)/%: %

$(NTTOOLS):
        # making $@ due to $?
        cp $? $@
--------------------------------

now touch f1.bat f2.bat


make always reports:
make: Nothing to be done for `All'.

Removing the .bat extension on f1/f2 fixes the problem.
Removing the second file from NTTOOLS fixes the problem.

This all worked fine on B17.

I'm using NT4 SP5

I've tried searching the archives for this problem, but can't find anything
similar.


--
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