discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Howto write GNUmakefile.preamble with using C API


From: Nicola Pero
Subject: Re: Howto write GNUmakefile.preamble with using C API
Date: Tue, 22 Jul 2008 12:50:13 +0200 (CEST)

>>> It doesn't work
>>> [...]
>>> test.c:1:19: warning: mysql.h: No such file or directory
>>> [...]
>>
>> Something is going wrong here - it was supposed to be compiling  
>> test.m here, not test.c ;-)
>
> This is a bug in GNUstep Make which I've encountered before.  It is  
> due to the convoluted way in which it builds dependency chains.

If you encounter bugs, please report them - thanks :-)

I never thought anyone would care about file.c vs file.m, but if that's a 
problem,
let's fix it :-)

> Possibly a better solution would be for the .o files to be  
> named .c.o, .m.o, .cpp.o and so on, and the dependency rules  
> constructed to match.

I like the idea.  I implemented it in trunk.  Please give it a go.

Thanks





reply via email to

[Prev in Thread] Current Thread [Next in Thread]