[sac-dev] Eliminate duplicate `-I../inc' parameters in generated Makefiles

Kuang He icrazy at gmail.com
Mon Oct 6 12:04:21 PDT 2008


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-makefile-duplicate-include-parameters.diff
Type: application/octet-stream
Size: 1323 bytes
Desc: not available
URL: <http://www.iris.washington.edu/pipermail/sac-dev/attachments/20081006/ab01258f/attachment.obj>


More information about the sac-dev mailing list