Do pattern rules work in NT?

Mark Brown sejanus@gis.net
Tue Jul 22 06:05:00 GMT 1997


Should the following conditional work under the NT/95 port of GNU Make as it
does under OS/2 ?

ifneq ($(GNU_OS_PORT),"NT_ENV")
       error:
             @echo Not running this Makefile on correct port!
else

endif

-----Original Message-----
From: Tom <rdorgan@worldnet.att.net>
To: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
Date: Monday, July 21, 1997 5:54 PM
Subject: Re: Do pattern rules work in NT?



Robert Nicholson wrote:
>
> Should the following pattern rule work in NT?
>
> classes\%.class: %.java
>         javac ......
>
> if I have a dependency like classes/something.class
>
> won't it match this rule?
>
> The gnumake shipped with NeXT's OE 4.2 for NT doesn't seem to.

I have seen some makes fail silently if the dependency is greater than
one char in length (.o). I worked around this by linking the .class
to .j or something and it started working.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list