From: Richard M. Stallman Date: Fri, 18 Aug 1995 16:23:23 +0000 (+0000) Subject: (getdate.c): New target. X-Git-Tag: emacs-19.34~2977 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=361b7640072e3c34e68a11f9f8765bd8716c3529;p=emacs.git (getdate.c): New target. (getdate.o): Just compile getdate.c. --- diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index f5adef67ab7..992d9715188 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -368,10 +368,12 @@ 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) $(CPP_CFLAGS) -c y.tab.c - mv y.tab.o getdate.o +$(srcdir)/getdate.c: ${srcdir}/getdate.y + cd $(srcdir); ${YACC} ${YFLAGS} getdate.y + cd $(srcdir); mv y.tab.c getdate.c +getdate.o: ${srcdir}/getdate.c ../src/config.h + $(CC) $(CPP_CFLAGS) -c ${srcdir}/getdate.c + timer.o: ${srcdir}/timer.c ../src/config.h $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c timer: ${TIMEROBJS}