Subject:
|
Re: pictures at tracker
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Thu, 16 May 2002 04:17:39 GMT
|
Viewed:
|
784 times
|
| |
| |
Kyle McDonald wrote:
> a file full of make style dependencies. for example it might make a file
> called
> 3001.dep that contained:
>
> 3001.pic: 3001.dat stud4.dat box5.dat stud.dat
>
> and another called stud.dep that would have:
>
> stud.pic: stud.dat 4-4edge.dat 4-4cyli.dat 4-4disc.dat
Lots of this stuff can be done different ways, but I think
I should have written those as:
in 3001.dep:
3001.pic: 3001.dat stud4.pic box5.pic stud.pic
and in stud.dep:
stud.pic: stud.dat 4-4edge.pic 4-4cyli.pic 4-4disc.pic
[Note .dat changed to .pic for included files]
This is one way to make it work. This will cause 3001.pic to
get remade when 4-4disc.dat is updated. which wouldn't have
happenned the other way.
Another way would be to do something like:
3001.pic: 3001.dat
3001.dat: stud4.dat box5.dat stud.dat
But you don't actually do anything to 'remake' 3001.dat when
stud.dat changes so that isn't really right either.
There are trade offs with everything, I don't know which would be better
without actually sitting down to write the whole thing. :)
-Kyle
--
_
-------------------------------ooO( )Ooo-------------------------------
Kyle J. McDonald (o o) Systems Support Engineer
Sun Microsystems Inc. |||||
Enterprise Server Products Kyle.McDonald@Sun.COM
1 Network Drive BUR03-4630 \\\// voice: (781) 442-2184
Burlington, MA 01803 (o o) fax: (781) 442-1542
-------------------------------ooO(_)Ooo-------------------------------
--
_
-------------------------------ooO( )Ooo-------------------------------
Kyle J. McDonald (o o)
|||||
\\\//
(o o) kmcdonald@BigFoot.COM
-------------------------------ooO(_)Ooo-------------------------------
|
|
Message is in Reply To:
| | Re: pictures at tracker
|
| Steve Bliss wrote: > In lugnet.cad, Larry Pieniazek writes: > > >>Hey... this is starting to sound like build/make dependency analysis. Any >>chance of getting good old "make" itself to do the work of figuring out what >>needs to be regenned when a (...) (23 years ago, 16-May-02, to lugnet.cad)
|
77 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|