From: salkin AT mindspring DOT com Date: Tue, 07 Dec 1999 11:21:41 -0500 To: djgpp AT delorie DOT com Subject: need workaround for make problem Sender: salkin AT mindspring DOT com Message-ID: X-Originating-IP: 208.24.179.211 Reply-To: djgpp AT delorie DOT com 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-