Name: [097] Rocky Bernstein
Member: 114 months
Authored: 3 videos

Debugging Makefiles with remake [ID:116] (1/2)

in series: linuxBernsteinMakeDebugSeries

video tutorial by Rocky Bernstein, added 03/07

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

I introduce extensions I have made to GNU Make which allow better error messages, tracing and enable the debugging of Makefiles. For anyone who has ever tried to debug a makefile before you'll know just how difficult it can be!


Uploaded on 5th January 2007, running time 14 minutes. A transcript exists in the wiki. If you like this video and you'd like to encourage Rocky to make another entry in the series, you can leave a comment for him here and vote for the series over at

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 258 (since July 30th)
  • Plays in last week: 4
  • Published: Sometime before 1st March 2007 (in other words - we don't remember!)

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Your email address will not be published.

Show some quick comments >>

All comments excluding tick-boxed quick-comments

bruce Robertson: thanks.

I forgot to add a link to the manual from the remake homepage . I've added it now. The Debugger-specific

manual is The GNU make manual also has some small changes in the section on command-line options that describe the additional debugger options used to invoke the debugger.

14. marinir seo 085-635-945-40 Wed, 10 Mar 2010 19:34

I think I mentioned this before but good work. And where's the dang manual that's mentioned?

Good tool and good tutorial!

12. anonymous Thu, 10 Dec 2009 01:58

Cool make!

11. anonymous Thu, 10 Dec 2009 01:50

Thank you for your great video, it is of great help to me!

But it seems that you didn't show us what is



Remake is great. Thanks, Rocky!!!

Are you still planing on part 2 of this demo??? Would be great!!!

9. anonymous Sun, 11 Jan 2009 17:31

I despise working with makefiles and gnu autotools because they have such poor debugging facilities. Your great work with remake and the bashdb have the possibility of making my interactions with these tools less of a chore.

Thanks so much for all of your great work !

8. anonymous Thu, 04 Dec 2008 19:28

very nice video

7. anonymous Mon, 22 Sep 2008 14:17

When you make a screencast you should post-synchronize the voice track. When the author has to type, read the screen, navigate emacs and talk on top of it, the speech is interrupted all the time because the human brain can't do it all at once. Record the video first without the sound. Then record the voice on top. Buy the peepcode screencast on GIT, they are made like that and they are easier to follow.

6. anonymous Wed, 15 Aug 2007 21:52

Rocky. excellent demo; I'm glad I found it. If you haven't, do one of the debugger. We, at a large networking company, have fabulous recursive makefiles. That's in the fable about the software troll under the bridge.


Thanks for your video .. BUT!

I tried the home site you show on the screen. There is only a make project. The file generates after the compilation is a make file and not remake file.

In the video we see that it calls remake!

Could you explain that ... Is it another project or what? many thanks ..

4. anonymous Thu, 17 May 2007 01:04

I haven't used remake yet - thanks for making the video - it helps me get an understanding of what remake has to offer

(I found your page with google search for

gnu make debug print )

Thanks for the kind words. If I do a second "remake" demo where the debugger proper is used, I'll make sure to include using it from ddd. (Although obviously I'm much more facile with Emacs).

Fantastic work!

I love to see make file is debugged from DDD, then my dreams come true :O)

Best Regards,

Kaveh Fazli

Wonderful demo, Rocky! Thanks a ton for doing this.

Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for Rocky

Introducing the pydb Debugger

Rocky - Thanks for your work on pydb and the screencast. One suggestion for possible improvement for the presentation: take things one simple step at a time as in this written tutorial ( ). I look forward to using pydb and have posted about it to my local Python User Group. Cheers, John in New Zealand

送料無料激安定番定番 新色大人気
76 months ago

By the Same Author



Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.