changeset 2720:ad53bd625e1c

* Makefile.in (DEFS): Remove this; we have configure build a config.h file directly, instead of having lots of -D flags. * Makefile.in (CFLAGS): Don't make this carry DEFS from the configure script; the coding standards say that CFLAGS should be left for the user to tweak. * Makefile.in (LN_S): New variable, edited by top Makefile. (SUBMAKEFILE): New variable, containing all flags to pass to recursive makes.
author Jim Blandy <jimb@redhat.com>
date Mon, 10 May 1993 00:13:32 +0000
parents 340d7c6c8790
children ca5cb6cafc40
files src/=Makefile.in
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/=Makefile.in	Mon May 10 00:10:08 1993 +0000
+++ b/src/=Makefile.in	Mon May 10 00:13:32 1993 +0000
@@ -8,8 +8,9 @@
 # ==================== Things `configure' might edit ====================
 
 CC=cc
-DEFS=-g
+CFLAGS=-g
 srcdir=.
+LN_S=ln -s
 
 # ============================= Targets ==============================
 
@@ -19,12 +20,12 @@
 # Just to avoid uncertainty.
 SHELL = /bin/sh
 
-CFLAGS=${DEFS}
+SUBMAKEFLAGS = CC='${CC}' LN_S='${LN_S}'
 
 all: doall
 
 doall: xmakefile
-	$(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all
+	$(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} all
 
 #This is used in making a distribution.
 #Do not use it on development directories!
@@ -44,13 +45,13 @@
 	@true
 
 doemacs: xmakefile
-	$(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} emacs
+	$(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} emacs
 
 temacs: dotemacs
 	@true
 
 dotemacs: xmakefile
-	$(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} temacs
+	$(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} temacs
 
 SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \
 	config.h.in README COPYING ChangeLog vms.pp-trans