Help on command overriding

2016-03-05 Thread Thomas Martitz
Hello, I would like to accomplish overriding commands without getting the warning "warning: overriding recipe for target". The makefile I'm working with is generated (by automake). I want to override its target commands. Essentially, my Makefile looks like libfoo.la: $(libfoo_la_OBJECTS) $

GNUMake link step not work to certain libraries

2016-03-05 Thread Fadi Hatem
Hi Folks, I can't figure out why my binary does not link with certain libraries: LDLIBRARIES += -L/ms/dist/msjava/PROJ/sunjdk/1.6.0_31/.exec/amd64.linux.2.4.glibc.2.3/jre/lib/amd64/ LDLIBRARIES += -L/ms/dist/msjava/PROJ/sunjdk/1.6.0_31/.exec/amd64.linux.2.4.glibc.2.3/jre/lib/amd64/server