Mail Archives: djgpp/1999/12/07/13:13:12
Hi -
I'm trying to use DJGPP make to build java files. I ended up doing this even though I am developing under cygwin because the win jdk wants a classpath seperated by ';' rather then ':' and this is wildly confusing to the environment script.
So since I was using gnu make under cygwin, I thought that gnu make under djgpp should work fine. What doesn't work is this:
<--- demo makefile ---->
%.class: %.java
$(JAVAC) $<
CLASSES= note.class
all: $(CLASSES)
<--- end demo --->
<--- error msg --->
c:\....> make
make.exe: *** No rule to make target 'note.class', needed by 'all'.
<--- end error --->
The info pages with the djgpp suggest that this behavior should be the same as cygwin gnu make or unix gnu make. In fact, the minor version # of the djgpp make is slightly larger then that of the cygwin (3.77 vs 3.75).
Anyone having a workaround for this (either how I can make an implict rule using djgpp make or how I can make the classpath thing work right under cygwin), I'd really appreciate an email at salkin AT mindspring DOT com.
Oh yes, almost forgot, I dd try the old-style .java.class rule and it failed as well. :(
S-
- Raw text -