From 0e507ed1d81e2b41b5c3eb8029c1238b494677b4 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Sat, 29 Oct 1994 05:11:34 +0000
Subject: [PATCH] Add a DEPEND_FLAGS variable containing flags passed only to
 make depend.

---
 lisp/GNUmakefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/GNUmakefile b/lisp/GNUmakefile
index b6983e9ed..f3a6ff029 100644
--- a/lisp/GNUmakefile
+++ b/lisp/GNUmakefile
@@ -1,8 +1,9 @@
-# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.9 1994/10/24 19:19:29 ram Exp $
+# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.10 1994/10/29 05:11:34 ram Exp $
 
 all: lisp.nm
 
 CC = gcc
+DEPEND_FLAGS =
 
 include Config
 
@@ -12,6 +13,7 @@ SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \
 	socket.c runprog.c time.c undefineds.c \
 	${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC}
 
+
 OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(SRCS)))
 
 ### Don't look in RCS for the files, because we might not want the latest.
@@ -46,7 +48,7 @@ clean:
 	rm -f Depends *.o lisp lisp.nm core
 
 depend: ${SRCS}
-	$(CC) -MM -E ${CFLAGS} ${CPPFLAGS} $? > ,depends
+	$(CC) -MM -E ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $? > ,depends
 	mv ,depends Depends
 
 include Depends
-- 
GitLab