public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Timothy Reaves <treaves@localhost.localdomain>
To: cygwin@sourceware.cygnus.com
Subject: Please help with make
Date: Wed, 31 Mar 1999 19:45:00 -0000	[thread overview]
Message-ID: <199903112006.PAA00545@localhost.localdomain> (raw)
Message-ID: <19990331194500.tmrejBjNm01X5nQKGCUQYnkqzAZaeCCz9C5AW6QmfuE@z> (raw)

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


             reply	other threads:[~1999-03-31 19:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-11 12:07 Timothy Reaves [this message]
1999-03-31 19:45 ` Timothy Reaves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199903112006.PAA00545@localhost.localdomain \
    --to=treaves@localhost.localdomain \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).