comparison lib-src/Makefile.in @ 3018:f1d4c6a5976a

* 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.
author Jim Blandy <jimb@redhat.com>
date Mon, 24 May 1993 15:39:31 +0000
parents 1b3cab5f40e4
children c0f75cf9ae35
comparison
equal deleted inserted replaced
3017:3afba65e22fa 3018:f1d4c6a5976a
231 $(CC) -I${srcdir}/../src ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient 231 $(CC) -I${srcdir}/../src ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient
232 232
233 hexl: ${srcdir}/hexl.c 233 hexl: ${srcdir}/hexl.c
234 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 234 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
235 235
236 TIMEROBJS=getdate.o timer.o $(ALLOCA)
236 getdate.o: ${srcdir}/getdate.y ../src/config.h 237 getdate.o: ${srcdir}/getdate.y ../src/config.h
237 ${YACC} ${YFLAGS} ${srcdir}/getdate.y 238 ${YACC} ${YFLAGS} ${srcdir}/getdate.y
238 $(CC) -I${srcdir}/../src $(ALL_CFLAGS) -c y.tab.c 239 $(CC) -I${srcdir}/../src $(ALL_CFLAGS) -c y.tab.c
239 mv y.tab.o getdate.o 240 mv y.tab.o getdate.o
240 timer.o: ${srcdir}/timer.c ../src/config.h 241 timer.o: ${srcdir}/timer.c ../src/config.h
241 $(CC) -c -I${srcdir}/../src $(ALL_CFLAGS) ${srcdir}/timer.c 242 $(CC) -c -I${srcdir}/../src $(ALL_CFLAGS) ${srcdir}/timer.c
242 timer: getdate.o timer.o 243 timer: ${TIMEROBJS}
243 $(CC) -I${srcdir}/../src $(ALL_CFLAGS) getdate.o timer.o -o timer 244 $(CC) -I${srcdir}/../src $(ALL_CFLAGS) ${TIMEROBJS} -o timer
244 245
245 make-path: ${srcdir}/make-path.c 246 make-path: ${srcdir}/make-path.c
246 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path 247 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path
247 248
248 # These are NOT included in INSTALLABLES or UTILITIES. 249 # These are NOT included in INSTALLABLES or UTILITIES.