On Sun, Jan 15, 2006 at 03:00:02PM -0200, Gerhard Fiedler wrote: > > That said, on all my PIC projects to date I don't even use dependencies. > > Everything is compiled into one static image. Microprocessor code is so > > small, and modern computers are so fast, it's not even worth the bother > > I find for my projects. We're not talking about the millions of lines of > > code in the Linux kernel after all! > > Yes, but without dependencies, there's no need for make at all. Without > them, the makefile collapses usually to a single line batch file. OTOH, > there are quite a number of projects with complexities between the Linux > kernel and trivial projects that only need a couple files. I find that most > of my embedded projects are in that space between :) And often those trivial projects grow to not so trivial projects... Or you just cut-n-pasted your development directory from a non-trivial project to a trivial one... I do that a *lot* In any case make does have a decent, and simple, syntax so your targets can be "make" "make burn" "make new_serial_number" whatever. Anyway, even if my source code is a single image, often I do have dependencies on automagically generated tables of values, such as serial numbers, stepper motor driver tables and math constants. Those can take a little longer to build from scratch. -- pete@petertodd.ca http://www.petertodd.ca -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist