This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Please help with make

I have the following line in my .bashrc file.

alias ptj='ptjavac -g -d /dev/classes -classpath $CLASSPATH'

ptjavac is a replacement for javac, with the bug that it cannot properly read the classpath env. var.  That is why it has the -classpath setting.  This app is a windows app, not unix.  The alias allows me to type 'pjt' and all goes well.  However, it fails when called from make.

Here is my Makefile:
# Command to call for compiling a Java source file
# Options to pass with a call to $(PTJAVAC); here, an extra
# directory for class file output should be used.

User :

This fails with errors that ptjavac can not find classes, so it is not actually getting the classpath passed in properly.

What am I doing wrong?


Want to unsubscribe from this list?
Send a message to