diff options
author | Jim Blandy <jimb@redhat.com> | 1992-11-07 07:39:11 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-11-07 07:39:11 +0000 |
commit | 43bf8b0ee3751f26b50d3c644f7dc6bb29e11f75 (patch) | |
tree | 16c8312e05f15e41325151434a33279847a15213 /lib-src | |
parent | ad85424916e29edb806b318fa6f854968abbcb0b (diff) | |
download | emacs-43bf8b0ee3751f26b50d3c644f7dc6bb29e11f75.tar.gz |
* 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.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index f51b051a885..f130d386549 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -33,9 +33,11 @@ EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} # 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 @@ emacsclient: emacsclient.c ../src/config.h 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 |