summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-24 15:39:31 +0000
committerJim Blandy <jimb@redhat.com>1993-05-24 15:39:31 +0000
commit9ff5de0791b4ed4fb2ed11f7c27002763e974d91 (patch)
tree2133efa9e841c5f62358a426fdf7df980508d9dc /lib-src
parente7c7295c919d939c9b21adeecff89336318c6578 (diff)
downloademacs-9ff5de0791b4ed4fb2ed11f7c27002763e974d91.tar.gz
* 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.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 5917a181e73..c940551231c 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -233,14 +233,15 @@ emacsclient: ${srcdir}/emacsclient.c ../src/config.h
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