Mercurial > emacs
comparison lib-src/Makefile.in @ 1573:884891e455cf
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 07 Nov 1992 07:39:11 +0000 |
parents | d6f0073d7e31 |
children | 59aca09e60f8 |
comparison
equal
deleted
inserted
replaced
1572:04c1b4719e60 | 1573:884891e455cf |
---|---|
31 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} | 31 EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} |
32 | 32 |
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. |
35 CC=gcc | 35 CC=gcc |
36 CFLAGS= -g -O | 36 CONFIG_CFLAGS= -g -O |
37 LOADLIBES= | 37 LOADLIBES= |
38 | |
39 CFLAGS=${CONFIG_CFLAGS} -Demacs -I../src | |
38 | 40 |
39 all: ../arch-lib | 41 all: ../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. |
42 ../arch-lib: ${EXECUTABLES} | 44 ../arch-lib: ${EXECUTABLES} |
166 $(CC) ${CFLAGS} emacsclient.c $(LOADLIBES) -o emacsclient | 168 $(CC) ${CFLAGS} emacsclient.c $(LOADLIBES) -o emacsclient |
167 | 169 |
168 hexl: hexl.c | 170 hexl: hexl.c |
169 $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl | 171 $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl |
170 | 172 |
173 getdate.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 | |
171 timer: getdate.o timer.o | 177 timer: getdate.o timer.o |
172 $(CC) $(CFLAGS) getdate.o timer.o -o timer | 178 $(CC) $(CFLAGS) getdate.o timer.o -o timer |
173 | 179 |
174 # These are NOT included in INSTALLABLES or UTILITIES. | 180 # These are NOT included in INSTALLABLES or UTILITIES. |
175 # See ../src/ymakefile. | 181 # See ../src/ymakefile. |