# HG changeset patch # User Jim Blandy # Date 721121951 0 # Node ID 884891e455cf2d5bd371bbc8713c5845a90ecfde # Parent 04c1b4719e60b6a9251e684596871588ef934071 * Makefile.in (getdate.o): Added explicit target for this, so we can indicate that it depends on ../src/config.h. * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this instead of CFLAGS. (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this. diff -r 04c1b4719e60 -r 884891e455cf lib-src/Makefile.in --- a/lib-src/Makefile.in Sat Nov 07 07:37:42 1992 +0000 +++ b/lib-src/Makefile.in Sat Nov 07 07:39:11 1992 +0000 @@ -33,9 +33,11 @@ # These things are edited by ../configure; don't change anything before # or including the '='; everything after that gets blown away. CC=gcc -CFLAGS= -g -O +CONFIG_CFLAGS= -g -O LOADLIBES= +CFLAGS=${CONFIG_CFLAGS} -Demacs -I../src + all: ../arch-lib # We use rm -f so that rm won't try to ask questions during the build. @@ -168,6 +170,10 @@ hexl: hexl.c $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl +getdate.o: getdate.y ../src/config.h + ${YACC} ${YFLAGS} getdate.y + $(CC) $(CFLAGS) -c y.tab.c + mv y.tab.o getdate.o timer: getdate.o timer.o $(CC) $(CFLAGS) getdate.o timer.o -o timer