From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15347 invoked by alias); 18 Apr 2008 10:52:00 -0000 Received: (qmail 15335 invoked by uid 22791); 18 Apr 2008 10:52:00 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.189) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 Apr 2008 10:51:28 +0000 Received: by nf-out-0910.google.com with SMTP id h3so349449nfh.6 for ; Fri, 18 Apr 2008 03:51:23 -0700 (PDT) Received: by 10.78.150.7 with SMTP id x7mr3057862hud.107.1208515882948; Fri, 18 Apr 2008 03:51:22 -0700 (PDT) Received: by 10.78.158.13 with HTTP; Fri, 18 Apr 2008 03:51:22 -0700 (PDT) Message-ID: Date: Fri, 18 Apr 2008 14:08:00 -0000 From: "Dima Sorkin" To: mahmoodn Subject: Re: Need help for an old makefile Cc: gcc-help@gcc.gnu.org In-Reply-To: <16722559.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <16722559.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00249.txt.bz2 Hi. This make file should work. Indeed its syntax is old. GNU make style for implicit rules is described here http://www.gnu.org/software/make/manual/make.html#Implicit-Rules I added little example below. You could me answered much better here http://savannah.gnu.org/mail/?group=make Regards, Dima. On Wed, Apr 16, 2008 at 6:36 PM, mahmoodn wrote: > > Hello, > I have an old makefile and I want to run it but it can not be "make"ed. How > can I convert it to current version of makefile?:confused: > .H.h: > m4 ${MACROS} $*.H > $*.h %.h : %.H m4 ${MACROS} $< > $@