aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJim Blandy1992-11-07 07:39:11 +0000
committerJim Blandy1992-11-07 07:39:11 +0000
commit43bf8b0ee3751f26b50d3c644f7dc6bb29e11f75 (patch)
tree16c8312e05f15e41325151434a33279847a15213 /lib-src
parentad85424916e29edb806b318fa6f854968abbcb0b (diff)
downloademacs-43bf8b0ee3751f26b50d3c644f7dc6bb29e11f75.tar.gz
emacs-43bf8b0ee3751f26b50d3c644f7dc6bb29e11f75.zip
* 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.in8
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}
33# These things are edited by ../configure; don't change anything before 33# These things are edited by ../configure; don't change anything before
34# or including the '='; everything after that gets blown away. 34# or including the '='; everything after that gets blown away.
35CC=gcc 35CC=gcc
36CFLAGS= -g -O 36CONFIG_CFLAGS= -g -O
37LOADLIBES= 37LOADLIBES=
38 38
39CFLAGS=${CONFIG_CFLAGS} -Demacs -I../src
40
39all: ../arch-lib 41all: ../arch-lib
40 42
41# We use rm -f so that rm won't try to ask questions during the build. 43# 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
168hexl: hexl.c 170hexl: hexl.c
169 $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl 171 $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl
170 172
173getdate.o: getdate.y ../src/config.h
174 ${YACC} ${YFLAGS} getdate.y
175 $(CC) $(CFLAGS) -c y.tab.c
176 mv y.tab.o getdate.o
171timer: getdate.o timer.o 177timer: getdate.o timer.o
172 $(CC) $(CFLAGS) getdate.o timer.o -o timer 178 $(CC) $(CFLAGS) getdate.o timer.o -o timer
173 179