This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Do pattern rules work in NT?


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]