Using cygwin "make"
Wed Jan 17 06:23:00 GMT 2001
On Wed, Jan 17, 2001 at 02:44:01PM +0100, Bernard Dautrevaux wrote:
>> I have tried both and neither works.
>> It never seems to execute the cd correctly.
>> With the following definitions
>> The command
>> D:\work>make --win32 -f d:\work\squash02\Makefile jar
>> gives me the following output
>> cd D:\classes ; jar -cvf
>> d:\cm-build\checkmate-0.7.0\lib\classes.jar squ/
>> The filename,directory name or volume label syntax is incorrect
>> make ***[jar] Error 1
>> All the directories do exist but I just can't see what is wrong.
>> Any help would be greatly appreciated.
>Don't forget that make is using "sh" to execute the command, so the '\' is
>eaten by the shell. You sould use "CLASSES=D:\\classes",
>"CLASSES=D:/classes" or even better (as the colon may fool up make if
>$(CLASSES) is used somewhere in a dependency list)
Remeber, he's using "make --win32", so /bin/sh doesn't enter into this.
If I try an equivalent makefile using "ls" instead of "jar", "ls" shows
the files in the directory that has been cd'ed to, so it seems like
make is working ok, so I can't explain this behavior.
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin