I have the following makefile after running it once I make some changes to the makefile and now when I run it I get a \"make: Nothing to be done for `default\'.\" How can I
The problem is that this:
.java.class:
$(JC) $(JFLAGS) $*.java
doesn't do what you think it does. Perhaps you meant something like this?
%.class: %.java
$(JC) $(JFLAGS) $^
Make sure there is no file or directory called classes. Make could then assume nothing more to do.
I did not read your Makefile carefully and I do not consider myself a make expert but
leads me to think that the correct behavior is exactly what you described. Perhaps you can add a dependency to the Makefile.