This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Filename problems using Java compiler
- To: jcollins@key-tech.net
- Subject: Re: Filename problems using Java compiler
- From: "Henry J. Cobb" <hcobb@telegenisys.com>
- CC: cygwin@sourceware.cygnus.com
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- In-reply-to: <DFCB901CFA52D211A35000104B2E651E59ADE6@valkyrie.is.com> (messagefrom John Collins on Wed, 17 Feb 1999 17:56:53 -0600)
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- References: <DFCB901CFA52D211A35000104B2E651E59ADE6@valkyrie.is.com>
- Reply-to: hcobb@telegenisys.com
- Sender: cygwin-owner@sourceware.cygnus.com
I already posted my fix to getting Java to compile a while back.
# Makefile
JAVA_CLASSES = Foo.class FooBar.class
all: $(JAVA_CLASSES)
# Each class file depends on its java file
%.class: %.java
$(JAVA_COMPILER) $(JAVA_CSWITCH) $<
@cp -v $(@:.class=)*.class $(INSTALL_DIR)
#Note that INSTALL_DIR is on the local classpath
#Note that javac is getting passed the proper name casing
# Additonal dependencies for each target
FooBar.class: Foo.class
# Braindead eNp-Ty make.exe workarounds when cases differ
Foo.class: Foo.java
FooBar.class: FooBar.java
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com