Article View: comp.unix.programmer
Article #3762Re: Makefile : %.class: %.java
From: brinkleybw
Date: Wed, 06 Jun 2001 14:21
Date: Wed, 06 Jun 2001 14:21
20 lines
2305 bytes
2305 bytes
In article <9fje0l$rdi$2@jik.kamens.brookline.ma.us>, Jonathan Kamens says... > >In article <L1aT6.999$SQ2.49646@www.newsranger.com>, > brinkleybw@hotmail.com writes: >>Make doesn't always like directories (and changing to them). It is much easier >>to create a makefile for each directory, and then write one 'master' makefile >>that calls the others (called a recursive makefile; check the O'Reilly book). > >There are times when recursive Makefiles are appropriate, but I don't >see why this is one of them. It's prefectly reasonable to have a >single Makefile build all of the class files in a directory hierarchy. >You just have to understand Make well enough to write all the rules >properly. Unless, of course, you want to make each package completely independent, including the build process. That way you can reuse makefiles too! cheers -Brandon
Technical Details
Message-ID:
<s%qT6.1039$bA3.41605@www.newsranger.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!newsranger.com!www.newsranger.com!not-for-mailReferences:
<3B03B870.2168B36C@bigfoot.com> <p5lmnwukdf.fsf@lemming.engeast.baynetworks.com> <p5bsosui8e.fsf@lemming.engeast.baynetworks.com> <sa8vgmls6pf.fsf@sun_tong_001.personal.yahoo.com> <9f4aia$bda$1@jik.kamens.brookline.ma.us> <sa8snhiepqq.fsf_-_@sun_tong_001.personal.yahoo.com> <9fc4e2$cko$1@jik.kamens.brookline.ma.us> <L1aT6.999$SQ2.49646@www.newsranger.com> <9fje0l$rdi$2@jik.kamens.brookline.ma.us>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109f73,4f4561c76a5fff83 X-Google-Attributes: gid109f73,public X-Google-Thread: fc89c,4f4561c76a5fff83 X-Google-Attributes: gidfc89c,public X-Google-ArrivalTime: 2001-06-06 07:22:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.unix.programmer,gnu.utils.help From: brinkleybw@hotmail.com References: <3B03B870.2168B36C@bigfoot.com> <p5lmnwukdf.fsf@lemming.engeast.baynetworks.com> <p5bsosui8e.fsf@lemming.engeast.baynetworks.com> <sa8vgmls6pf.fsf@sun_tong_001.personal.yahoo.com> <9f4aia$bda$1@jik.kamens.brookline.ma.us> <sa8snhiepqq.fsf_-_@sun_tong_001.personal.yahoo.com> <9fc4e2$cko$1@jik.kamens.brookline.ma.us> <L1aT6.999$SQ2.49646@www.newsranger.com> <9fje0l$rdi$2@jik.kamens.brookline.ma.us> Subject: Re: Makefile : %.class: %.java Lines: 22 Message-ID: <s%qT6.1039$bA3.41605@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Wed, 06 Jun 2001 10:21:12 EDT Organization: http://www.newsranger.com Date: Wed, 06 Jun 2001 14:21:12 GMT