[En-Nut-Discussion] Solution: calloc.c make file correction, iccavr configurator

Brett Abbott Brett.Abbott at digital-telemetry.com
Thu Mar 31 09:02:34 CEST 2005


Hi

The reason for calloc.c always compiling every time appears to be caused 
by it being in a subdirectory in the source file.  The make rules cannot 
find the .o in the specified subdirectory.

Current Makefile entries generated by Configurator:
VPATH = $(top_srcdir)/c
SRCS =     stdlib/calloc.c

A Suggested Change:
VPATH = $(top_srcdir)/c/stdlib
SRCS =     calloc.c

Im unsure if this will impact other platforms.  Another option might be 
to have shadow subdirectories in the object target directories.

Cheers
Brett

-----------------------------------------------------------------
Brett Abbott, Managing Director, Digital Telemetry Limited
Email: Brett.Abbott at digital-telemetry.com
PO Box 24 036 Manners Street, Wellington, New Zealand
Phone +64 (4) 5666-860  Mobile +64 (21) 656-144
------------------- Commercial in confidence --------------------






More information about the En-Nut-Discussion mailing list