[ale] [OT] Any Eclipse and C users on the list

Michael Potter michael at potter.name
Mon Feb 4 13:00:45 EST 2013


On Mon, Feb 4, 2013 at 10:50 AM, JD <jdp at algoloma.com> wrote:
> On 02/03/2013 02:45 PM, Michael Potter wrote:
>> JD,
>>
>> This wikipedia entry:
>> http://en.wikipedia.org/wiki/Makedepend
>> seems to indicate that gcc -MM is preferred over makedepend.
>
> My "simple Makefile" that I've been using has been simplified to not create
> dependencies anymore. Sorry.  I did find the build files used on that commercial
> software - they were extremely complex, but elegant with each directly managing
> the build inside.  At the top level, anyone could type "make all" and cause
> builds on 10 different platforms, system tests and packaging on 9 of the 10
> platforms we supported. MS-Windows was the 1 platform that automatic tests and
> package creating didn't work - as everyone here would guess. ;)
>
> Still, the world is changing and it seems that the gcc guys have added
> dependency building to the compiler so we don't need external programs anymore
> for that.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

Here is a sample of what gcc -MM can handle that _might_ be beyond
other methods...

#define SOME_INCLUDE myfile.h
#include SOME_INCLUDE

#if (0 == 1)
#include myfile2.h
#endif

-- 
Michael Potter
  Tapp Solutions, LLC
  Replatform Technologies, LLC
+1 770 815 6142  ** Atlanta ** michael at potter.name  **
www.linkedin.com/in/michaelpotter


More information about the Ale mailing list