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" 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> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (jansb000@planet.nl) Subject: Re: Problem with cross-platform app: MAKE vs NMAKE References: 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 Precedence: bulk > From: "jansb000" > 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.