Hello,
I am (trying) to make a Makefile for compiling an application that uses
MySQL. The app need to be compiled with flags and libs that are a bit
machine dependant.
I can find the options etc by using 'mysql_config --cflags' and
'mysql_config --libs"
What I would like is something like (intuitive):
MYSQL_LIBS = 'mysql_config --libs'
app:
$(CC) file1.c ... filen.c $(MYSQL_LIBS)
so that I can basically use the same makefile on every different machine.
It probably isn't as simple as I imagine it..
but... any tips ?
thanks,
Ron
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make