Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 07:38:11 -0700
From:      Warner Losh <imp@village.org>
To:        Jason Brazile <jason@netcetera.ch>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: make bug? (dependency names with '$') 
Message-ID:  <200102201438.f1KEcBs02400@billy-club.village.org>
In-Reply-To: Your message of "Tue, 20 Feb 2001 12:54:09 %2B0100." <200102201154.MAA00515@disco.netcetera.ch> 
References:  <200102201154.MAA00515@disco.netcetera.ch>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200102201154.MAA00515@disco.netcetera.ch> Jason Brazile writes:
:   I want to construct a portable Makefile to build a java application.

That's not possible.  Java specifies a half assed make system as part
of the language, so it is nearly impossible to use another make system
on top of it unless you are willing to live with a whole slew of
problems.

:   When a java source file contains an inner class, it creates class
:   I could live with having to use something like the "yy" target if it
:   worked with BSD make, because it works with GNU make.

This seems like a bug in make(1).  Although I think you might want to
investigate:

d=$$
X=foo\$dbar.class

x:
	echo $(X)

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102201438.f1KEcBs02400>