delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/21/06:43:25

From: jt AT boxhill DOT com (Jason Tishler)
Subject: Re: Do pattern rules work in NT?
21 Jul 1997 06:43:25 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33D35B9B.1EF3.cygnus.gnu-win32@boxhill.com>
References: <Pine DOT BSF DOT 3 DOT 96 DOT 970720090032 DOT 6600B-100000 AT shell8 DOT ba DOT best DOT com>
Reply-To: jt AT boxhill DOT com
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: robert AT elastica DOT com
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT boxhill DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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