Thread: Eliminate duplicate `-I../inc' parameters in generated Makefiles

Started: 2008-10-06 22:04:21
Last activity: 2008-10-06 22:04:21
Topics: SAC Developers
Hi all,

Attached is a patch to eliminate duplicate `-I../inc' parameters in
generated Makefiles.

While compiling, instead of seeing something like:

gcc -DHAVE_CONFIG_H -I. -I../inc -I../inc -c -o
amf/allamb.o amf/allamb.c

We'll see this instead:

gcc -DHAVE_CONFIG_H -I../inc -c -o amf/allamb.o amf/allamb.c

Reference:
http://www.gnu.org/software/automake/manual/automake.html#Program-variables


Best regards,

--
Kuang He
Department of Physics
University of Connecticut
Storrs, CT 06269-3046

Tel: +1.860.486.4919
Web: http://www.phys.uconn.edu/~he/

Page built 06:33:14 | v.090361a2