www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | "Ricky Wildman" <r DOT wildman1 AT ntlworld DOT com> |
Subject: | problems with make under cygwin |
Date: | Thu, 28 Aug 2003 11:04:08 +0100 |
Lines: | 61 |
Message-ID: | <bikk0e$s9q$1@sea.gmane.org> |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1158 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Hi, I have recently installed cygwin and make components onto a PC. I have a working makefile for a set of Fortran programs that works fine with Solaris machine, but when I try these under cygwin I get the following error: Target pattern contains no '%' I'm a bit confused because I can't see any difference in the syntax required yet I get an error on one platform but not on the other. Perhaps there is a difference between gnumake and sun make? The relevant text in the makefile is ----makefile--- # Binary targets $(targets): $$($$@_bases:%=$(OBJDIR)/%.o) $$($$@_libs:%=lib%) $(LINK.F) -o $(BINDIR)/$@ $($@_bases:%=$(OBJDIR)/%.o) $($@_libs:%=-l%) \ $($@_extras) $($@_libs:%=-l%) # Implicit object file targets # Checks source files and include files for changes #$@ target $< dependant $(OBJDIR)/%.o: $(SRCDIR)/%.f $(INCFILES) umask 002 $(COMPILE.f) -o $@ $< $(OBJDIR)/%.o: $(SRCDIR)/%.F $(INCFILES) umask 002 $(COMPILE.F) -o $@ $< # My other libraries upon which this depends lib%: cd $(LIBRARY)/$(@:lib%=%) ; $(MAKE) ---makefile end--- Cheers for any help Ricky -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |