help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble defining implicit rule


From: Paul Jarc
Subject: Re: Trouble defining implicit rule
Date: Mon, 04 Feb 2002 09:52:02 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-redhat-linux-gnu)

Jim Gallagher <address@hidden> wrote:
> I'm trying to write an implicit rule for building .class files from .java
> files.
...
> %.java : %.class
>       $(JAVAC) $(JAVA_FLAGS) -classpath $(CLASS_PATH) $<

You switched the target with the source. "%.class: %.java" should
work.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]