delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/27/16:43:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Mon, 27 Sep 2004 22:39:53 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c4a4d2$Blat.v2.2.2$497f8d80@zahav.net.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <cj9rj1$2in$1@reader13.wxs.nl> (jansb000@planet.nl)
Subject: Re: Problem with cross-platform app: MAKE vs NMAKE
References: <cj9rj1$2in$1 AT reader13 DOT wxs DOT nl>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "jansb000" <jansb000 AT planet DOT nl>
> Date: Mon, 27 Sep 2004 22:01:44 +0200
> 
> I am working on a program that is supposed to be cross-platform. Recently we
> have a project member who is using MSVC. The makefile that I made for DJGPP
> make is not working for nmake from MSVC.
> 
> I use the variables $@, $< and $^. These seem to be unavailable in MSVC.
> Also the IFEQ command is not recognised by nmake.
> 
> What can I do to make my makefile usable to both DJGPP and MSVC?

How about suggesting the MSVC dudes to use the Windows port of GNU
Make?  IIRC, coming up with an nmake-compatible Makefile is much
harder, and even if you succeed, you will have to maintain 2 Makefiles
from now on.

- Raw text -


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