diff options
| author | Jim Blandy | 1992-11-07 07:39:11 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-11-07 07:39:11 +0000 |
| commit | 43bf8b0ee3751f26b50d3c644f7dc6bb29e11f75 (patch) | |
| tree | 16c8312e05f15e41325151434a33279847a15213 /lib-src | |
| parent | ad85424916e29edb806b318fa6f854968abbcb0b (diff) | |
| download | emacs-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.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} | |||
| 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 | 38 | ||
| 39 | CFLAGS=${CONFIG_CFLAGS} -Demacs -I../src | ||
| 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. |
| @@ -168,6 +170,10 @@ emacsclient: emacsclient.c ../src/config.h | |||
| 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 | ||