[Glade-users] A question about Makefile



jose_andres linuxfreemail com wrote:

Hi:

I've been using Glade for about four months and I could make some interesting things, right now I'm working 
in a school project developing a desicion taking system with the electre methods, the problem is that I 
need include a math library: mesch, and I don't know how to do it in the Makefile. If I will to compile in 
a shell I use the follow line: gcc -o prog_name prog.c ....(source files).... meschach.a -lm

I think you can use the AC_CHECK_LIB macro in your configure.in
to check for a library and add it to the build.


Damon





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