From: jt@boxhill.com (Jason Tishler)
Subject: Re: Do pattern rules work in NT?
21 Jul 1997 06:43:25 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <33D35B9B.1EF3.cygnus.gnu-win32@boxhill.com>
References: <Pine.BSF.3.96.970720090032.6600B-100000@shell8.ba.best.com>
Reply-To: jt@boxhill.com
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------367146D027AA"
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: robert@elastica.com
Original-CC: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

This is a multi-part message in MIME format.

--------------367146D027AA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Robert Nicholson wrote:
> Should the following pattern rule work in NT?
> 
> classes\%.class: %.java
         ^
         +--- backslash or forward slash?
>         javac ......

Is the backslash above a typo?  I use a pattern identical to the one
above except for a forward slash and it works fine with the GNU make
supplied with b17.1.  See attachment for a complete example.

Jason

-- 
Jason Tishler                        Phone: +1 (212) 989-4455 ext. 120
Box Hill Systems Corporation         Fax:   +1 (212) 989-6817
161 Avenue of the Americas           Email: jt@boxhill.com
New York, NY 10013 USA               WWW:   http://www.boxhill.com

--------------367146D027AA
Content-Type: text/plain; charset=us-ascii; name="Fit.mak"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Fit.mak"

FILES = \
	FitFunction.java \
	Layout.java
PACKAGE = Fit

ROOTDIR = ..
PACKAGEDIR = COM/JLT
CLASSDIR = $(ROOTDIR)/$(PACKAGEDIR)/$(PACKAGE)

CLASSES = $(addprefix $(CLASSDIR)/,$(FILES))
CLASSES := $(CLASSES:.java=.class)

all : $(CLASSES)

clean :
	$(RM) $(CLASSES)

JAVAC = javac
$(CLASSDIR)/%.class : %.java
	$(JAVAC) -d $(ROOTDIR) $<

--------------367146D027AA--

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