To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 7988
7987  |  7989
Subject: 
RE: pictures at tracker
Newsgroups: 
lugnet.cad
Date: 
Thu, 16 May 2002 13:11:17 GMT
Reply-To: 
<rhempel@bmts.comSAYNOTOSPAM>
Viewed: 
794 times
  
Can make find stud.dat under the right /p/ directory?

Generally, make doesn't search at all - the program which creates the
dependencies pinds the right version & sticks the path in there with it. See
"man makedepend" which is the program that does it for C sources.

All make does is check the target's date against all it's constituent file
dates, and execute the specified command(s) if it's out of date.

I'm going to step in here and volunteer my efforts
as a make expert to the group. I use make every day
and have an extensive system that allows me to build
embedded software for multiple platforms and hardware
versions from one source tree,

Here are some general thoughts....

1. You definitely need a dependency generator. This is pretty
   easy to do with sed, awk, perl, tcl - whatever. This program
   would spit out a list of heirarchical dependencies for each
   thing that it processes.

2. The VPATH and inference rule features of GNU make are powerful
   and easy to use constructs. I use them to handle building
   complete libraries within subdirectories of the working
   code. It should be easy to adapt to the parts tracker.

3. If you tell make that file x depends on file y and it can't
   find x where it is supposed to be of if x is older than y,
   then it will make x.

Let me know exactly what you need and the tools (programs) you have
access to on the target box and I'll bang together a make script
for you.

If it's not clear, i LOVE make. I use it for all kinds of tasks,
including building pbForth from scratch and then building zip
archives and sending them to the server.

I hope I can help in some small way...

Cheers, Ralph



Message has 2 Replies:
  Re: pictures at tracker
 
(...) Now that is a way cool offer! Awesome! (...) Me too. I don't USE make every day but I know it's one of the niftiest things there is in the computer world. Make can make *anything*. Well, just about: $ make love make: do not know how to make (...) (23 years ago, 16-May-02, to lugnet.cad)
  Re: pictures at tracker  [DAT]
 
Replying to a couple of things at once (and resisting the urge to XFUT lugnet.cad.dev.org.ldraw, which should have happened 30 messages ago...). (...) That sounds great! That's if it's ok with Jacob. (...) We've basically got one, although it might (...) (23 years ago, 16-May-02, to lugnet.cad)

Message is in Reply To:
  Re: pictures at tracker
 
(...) Generally, make doesn't search at all - the program which creates the dependencies pinds the right version & sticks the path in there with it. See "man makedepend" which is the program that does it for C sources. All make does is check the (...) (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR