On Mon, 15 Jul 2002, Ray Strode wrote:
>From what I read, it says, the .SUFFIXES directive discards the default
>ruleset, only if it is blanked. Of course, you can use the directive
>more than once:
Right, I mis-remembered. In any case, the blanked .SUFFIXES directive
should be used. You don't
Which manual says it is deprecated?
The gmake manual:
*> Suffix rules* are the old-fashioned way of defining implicit rules
for |make|. Suffix rules are
> obsolete because pattern rules are more general and clearer. They are
supported in GNU |make
>| for compatibility with old makefiles.
On Mon, 15 Jul 2002, Ray Strode wrote:
>> .SUFFIXES: .java .class
>I don't think you need the .SUFFIXES directive. According to the make
>manual, this method is deprecated.
Which manual says it is deprecated? The .SUFFIXES directive tells gmake
to discard the default rules listed. Otherwise, yo
On Mon, 15 Jul 2002, Charles Lockhart wrote:
>CLASSPATH = .://home/skunkworks/acme
^^^
Are we on cygwin? I am not sure what a // would do in a Makefile. Also,
I do not believe a '.' is necessary.
>.java.class:
>$(JC) $(JFLAGS) -classpath $(CLASSPATH) $(CLASSES)
I believe
Well, I'm not a make expert, but I'll see if I can help. I may be wrong
tho.
[...]
.SUFFIXES: .java .class
I don't think you need the .SUFFIXES directive. According to the
make manual, this method is deprecated.
[...]
.java.class:
$(JC) $(JFLAGS) -classpath $(CLASSPATH) $(CLASSES)
CLASSPATH = .://home/skunkworks/acme
JFLAGS= -g -deprecation
JC= javac
.SUFFIXES: .java .class
CLASSES= \
AboutDialog.java \
PatternEditor.java \
SingleBit.java \
BitPanel.java \
TimeBit.java \
TimePanel.java \
SimpleBit.java \
SimpleBitPanel.java \
#patedit.java \
Any ideas if it's a problem with Slickedit, make, or would it
most likely be my setup?
Most likely the makefile. The .java files need to be listed as
dependencies of their class files.
Please post your makefile.
--Ray
On Mon, 15 Jul 2002, Charles Lockhart wrote:
>It seems like most of the time when I save a change and then run make, I
>get "make: Nothing to be done for 'default'".
GNU Make only builds changed files if there is a dependencies file. I.e.
something that looks like:
somefile.o: somefile.c
Then,
For editing Java code, I'm using Visual Slickedit 6 with vi emulation.
For compiling Java code, I'm using GNU make 3.79.1.
It seems like most of the time when I save a change and then run make, I
get "make: Nothing to be done for 'default'".
If I do a "make clean" then "make", everything builds f