Mike Frysinger wrote:
> On Tuesday 13 January 2009 01:31:47 Subrata Modak wrote:
>> +CFLAGS += -I../../../include -Wall
> 
> -I options are CPPFLAGS, not CFLAGS
> 
>> +LDLIBS += -L../../../lib -lltp
> 
> -L options are LDFLAGS, not LDLIBS
> 
>>  tcore:              tcore.c
>> -            $(CC)  -o tcore tcore.c -lm -lpthread
>> +            $(CC)  -o tcore tcore.c $(CFLAGS) $(LDLIBS) -lm -lpthread
> 
> i would delete the rule altogether and set LDLIBS/LDFLAGS properly
> -mike

Hi,

agree with you Mike, but, just for let you know, I used the Makefiles included 
in ltp/testcases/misc/crash and ltp/testcases/misc/f00f as examples, and both 
are using CFLAGS and LOADLIBES variables.

Thanks.
-- 
Edjunior Barbosa Machado
IBM Linux Technology Center
Linux Defect Support Team

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to