Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/08 07:50
Read: times


 
#150790 - make of it what you will
Responding to: ???'s previous message
Erik Malund said:
When working with the stuff (e.g. feature enhancement) I have no desire to have a coffee break for each build (that would be the case if every time all 47 were built) and do thus just make one (or one of each main group). My batchfiles allow me to do a single build or any combo I want and, for the most popular combos, I have a .bat that call the make .bat to make this combo.

flexibility, flesibility, fexibility.


You can build ANY target defined in your makefile. And you can define a target that builds one or more of any of the targets in that makefile.

For example, I use makefiles to build my FPGAs. There's a target that runs just the synthesizer. There are individual targets for each of the Xilinx fitter tools (mapper, placer, router, timing analyzer, bitgen, PROM formatter). Another target builds the testbench sources.

Still other targets delete temporary files and wipe ALL results, leaving just the sources.

So I can type

$ make all

and it does just that ... it synthesizes, maps, etc and when done I have a .MCS file I can burn into the config EPROM.

If I've run make, then I change a pinout or timing constraint in the .UCF, the next make all will start with the translate, skipping the synthesis, because the UCF is not a dependency of the synthesis process.

And it's the dependency handling that makes Makefiles superior to your simple batch file. You run your batch and it starts everything from scratch every time. Make knows what's been modified and what depends on what, so it can be very smart and save time by not recompiling things that don't need it.

-a

List of 27 messages in thread
TopicAuthorDate
Let's have a rant about IDEs...            01/01/70 00:00      
   re Eclipse            01/01/70 00:00      
      You got further than me, then!            01/01/70 00:00      
         re looking at Eclipse            01/01/70 00:00      
   Eclipse            01/01/70 00:00      
   What do you want integrated in your IDE?            01/01/70 00:00      
      More than that!            01/01/70 00:00      
         How about ...            01/01/70 00:00      
            you want ...            01/01/70 00:00      
      What I want from my IDE            01/01/70 00:00      
      no, it is not            01/01/70 00:00      
         not inherently            01/01/70 00:00      
            reply and an example            01/01/70 00:00      
         Multiple targets with make            01/01/70 00:00      
            true, but            01/01/70 00:00      
               IDE's            01/01/70 00:00      
               true!            01/01/70 00:00      
               make vs. batch            01/01/70 00:00      
                  That's a key!            01/01/70 00:00      
                  .. and make one, two or all?            01/01/70 00:00      
                     make of it what you will            01/01/70 00:00      
               Don't start from here!            01/01/70 00:00      
                  what's the difference?            01/01/70 00:00      
                     The right tool for the job            01/01/70 00:00      
                        please e-mail me or post a copy            01/01/70 00:00      
                           Make with 3 targets            01/01/70 00:00      
                        make?????            01/01/70 00:00      

Back to Subject List