delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "John Melody" <john AT sybernet DOT ie> |
To: | <cygwin AT cygwin DOT com> |
Subject: | More problems with Make. |
Date: | Thu, 18 Jan 2001 16:20:33 -0000 |
Message-ID: | <NEBBLJLHKKEFAPIKKIIMOEPHCEAA.john@sybernet.ie> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
I still have some problems with make - I thought I had resolved the problems with the --unix qualifier but not so .... I am using cygwin 1.16 make 3.79 from the cygwin directory. I have included a part of my make file as follows: ------------------------------------------ SRC_ROOT=d:/work/squash02 OUTPUTDIR=d:\cm-build VERSION=checkmate-0.7.0 CM_VER= CheckMate API V0.7.0 DISTRIBUTION_DIR=$(OUTPUTDIR)\$(VERSION) CLASSES=d:\\classes CPath=.;$(CLASSES);$(SRC_ROOT)\lib\jaxp.jar;$(SRC_ROOT)\lib\parser.jar;$(SRC _ROOT)\lib\jh.jar Flags=-deprecation -d $(CLASSES) -classpath $(CPath) all: javac $(Flags) d:\work\squash02\squ\SQUCheckmate.java jar: cd $(CLASSES) ; \ jar -cvf $(DISTRIBUTION_DIR)\lib\classes.jar squ/ ------------------------------------------- My problem is as follows - If I want to make the 'jar' target everything works fine if I specify my directories in the unix format so for example CLASSES = d:/classes and I use the forward slash throughout and when I call make I do so as follows make -f d:\work\squash02\Makefile jar However if I try to make th 'all' target - javac tells me it cannot find the files specified using the -classpath qualifier. If however, I specify the files in an Windows format e.g. CLASSES = d:\classes and I use the following make command everything works correctly. make --win32 -f d:\work\squash02\Makefile all In the real case I want to be able to build the jar and compile all the files from the one Make command. Is this possible to do ? I want to be able to specify the directories once. Perhaps the problem is that I am running the Windows version of javac and it does not like the directories specified in any way other than the way you would normally specify them on windows. Any help is appreciated. Thanks a lot, John. John Melody SyberNet Ltd. Galway Business Park, Dangan, Galway. Tel. No. +353 91 514400 Fax. NO. +353 91 514409 Mobile - 087-2345847 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |