# HG changeset patch # User Jim Blandy # Date 738257971 0 # Node ID f1d4c6a5976abe0bc4c0d3b03f8228ede9813a38 # Parent 3afba65e22fa8553d346ea35c9a67597b495c031 * timer.c (xmalloc): Include definition for this, to placate the C version of alloca. * Makefile.in (timer.o): Link with alloca.o, if it's appropriate. diff -r 3afba65e22fa -r f1d4c6a5976a lib-src/Makefile.in --- a/lib-src/Makefile.in Mon May 24 15:22:47 1993 +0000 +++ b/lib-src/Makefile.in Mon May 24 15:39:31 1993 +0000 @@ -233,14 +233,15 @@ hexl: ${srcdir}/hexl.c $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl +TIMEROBJS=getdate.o timer.o $(ALLOCA) getdate.o: ${srcdir}/getdate.y ../src/config.h ${YACC} ${YFLAGS} ${srcdir}/getdate.y $(CC) -I${srcdir}/../src $(ALL_CFLAGS) -c y.tab.c mv y.tab.o getdate.o timer.o: ${srcdir}/timer.c ../src/config.h $(CC) -c -I${srcdir}/../src $(ALL_CFLAGS) ${srcdir}/timer.c -timer: getdate.o timer.o - $(CC) -I${srcdir}/../src $(ALL_CFLAGS) getdate.o timer.o -o timer +timer: ${TIMEROBJS} + $(CC) -I${srcdir}/../src $(ALL_CFLAGS) ${TIMEROBJS} -o timer make-path: ${srcdir}/make-path.c $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path