mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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.
This commit is contained in:
parent
e7c7295c91
commit
9ff5de0791
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue