diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 5f0afca50c3..70cad233587 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -8,8 +8,9 @@ MAKE = make | |||
| 8 | # ==================== Things `configure' might edit ==================== | 8 | # ==================== Things `configure' might edit ==================== |
| 9 | 9 | ||
| 10 | CC=cc | 10 | CC=cc |
| 11 | DEFS=-g | 11 | CFLAGS=-g |
| 12 | srcdir=. | 12 | srcdir=. |
| 13 | LN_S=ln -s | ||
| 13 | 14 | ||
| 14 | # ============================= Targets ============================== | 15 | # ============================= Targets ============================== |
| 15 | 16 | ||
| @@ -19,12 +20,12 @@ CPP = $(CC) -E -Is -Im | |||
| 19 | # Just to avoid uncertainty. | 20 | # Just to avoid uncertainty. |
| 20 | SHELL = /bin/sh | 21 | SHELL = /bin/sh |
| 21 | 22 | ||
| 22 | CFLAGS=${DEFS} | 23 | SUBMAKEFLAGS = CC='${CC}' LN_S='${LN_S}' |
| 23 | 24 | ||
| 24 | all: doall | 25 | all: doall |
| 25 | 26 | ||
| 26 | doall: xmakefile | 27 | doall: xmakefile |
| 27 | $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all | 28 | $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} all |
| 28 | 29 | ||
| 29 | #This is used in making a distribution. | 30 | #This is used in making a distribution. |
| 30 | #Do not use it on development directories! | 31 | #Do not use it on development directories! |
| @@ -44,13 +45,13 @@ emacs: doemacs | |||
| 44 | @true | 45 | @true |
| 45 | 46 | ||
| 46 | doemacs: xmakefile | 47 | doemacs: xmakefile |
| 47 | $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} emacs | 48 | $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} emacs |
| 48 | 49 | ||
| 49 | temacs: dotemacs | 50 | temacs: dotemacs |
| 50 | @true | 51 | @true |
| 51 | 52 | ||
| 52 | dotemacs: xmakefile | 53 | dotemacs: xmakefile |
| 53 | $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} temacs | 54 | $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} temacs |
| 54 | 55 | ||
| 55 | SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \ | 56 | SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \ |
| 56 | config.h.in README COPYING ChangeLog vms.pp-trans | 57 | config.h.in README COPYING ChangeLog vms.pp-trans |