[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble defining implicit rule
From: |
Jim Gallagher |
Subject: |
Re: Trouble defining implicit rule |
Date: |
Mon, 4 Feb 2002 21:15:46 -0800 |
So I did!
Sometimes the simplest errors are the hardest to spot (when they're you
own......)
Thanks
On Monday 04 February 2002 06:52, Paul Jarc wrote:
> Jim Gallagher <jmgallag@usa.net> 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