From 361b7640072e3c34e68a11f9f8765bd8716c3529 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 18 Aug 1995 16:23:23 +0000 Subject: [PATCH] (getdate.c): New target. (getdate.o): Just compile getdate.c. --- lib-src/Makefile.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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} -- 2.39.2