* Please help with make
@ 1999-03-11 12:07 Timothy Reaves
1999-03-31 19:45 ` Timothy Reaves
0 siblings, 1 reply; 2+ messages in thread
From: Timothy Reaves @ 1999-03-11 12:07 UTC (permalink / raw)
To: cygwin
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 User.java' and all goes well. However, it fails when called from make.
Here is my Makefile:
************************************************************
# Command to call for compiling a Java source file
PTJAVAC=ptjavac
# Options to pass with a call to $(PTJAVAC); here, an extra
# directory for class file output should be used.
PTJAVACOPTS=-g -d $(CLASSDIR) -classpath $(CLASSPATH)
User : User.java
$(PTJAVAC) $(PTJAVACOPTS) User.java
************************************************************
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?
Thanks.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Please help with make
1999-03-11 12:07 Please help with make Timothy Reaves
@ 1999-03-31 19:45 ` Timothy Reaves
0 siblings, 0 replies; 2+ messages in thread
From: Timothy Reaves @ 1999-03-31 19:45 UTC (permalink / raw)
To: cygwin
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 User.java' and all goes well. However, it fails when called from make.
Here is my Makefile:
************************************************************
# Command to call for compiling a Java source file
PTJAVAC=ptjavac
# Options to pass with a call to $(PTJAVAC); here, an extra
# directory for class file output should be used.
PTJAVACOPTS=-g -d $(CLASSDIR) -classpath $(CLASSPATH)
User : User.java
$(PTJAVAC) $(PTJAVACOPTS) User.java
************************************************************
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?
Thanks.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-03-31 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-11 12:07 Please help with make Timothy Reaves
1999-03-31 19:45 ` Timothy Reaves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).