delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/05:04:16

From: Matthew Mastracci <mmastrac AT acs DOT ucalgary DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using MAKE to compile JAVA
Date: Sun, 25 May 1997 01:45:15 -0600
Organization: The University of Calgary
Lines: 28
Message-ID: <Pine.A41.3.96.970525014354.29940B-100000@acs2.acs.ucalgary.ca>
References: <864133050 DOT 469608 AT red DOT parallax DOT co DOT uk>
NNTP-Posting-Host: mmastrac AT acs2 DOT acs DOT ucalgary DOT ca
Mime-Version: 1.0
In-Reply-To: <864133050.469608@red.parallax.co.uk>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Tue, 20 May 1997, John Eccleston wrote:

> I know this is slightly off topic but does any one know how I can use the
> same version of MAKE which I use to build my DJGPP code to build java?

> --> Error
> make.exe: *** No rule to make target `SwapWatcher.java', needed by 
> `SwapWatcher.
> class'.  Stop.
> <-- Error
> 
> --> Make file <--
> SwapWatcher.class : SwapWatcher.java
>         javac SwapWatcher.java
> --> Make file <--

Make a custom rule:

%.class : %.java ; javac $<

Now it should have any big problems.  :)

/\/\att /\/\astracci                  mmastrac AT acs DOT ucalgary DOT ca

GCS/GE    d- s+:+ a--- C++++ UA P+ L E-- W+ N++ o K+ w+ O M- V 
          PS++ PE++ Y+ PGP t+++ 5+++ X++ R++ tv+ b+++ DI++++ I 
          G++ e h r* z?

- Raw text -


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