Skip to content
Snippets Groups Projects
Commit 0e507ed1 authored by ram's avatar ram
Browse files

Add a DEPEND_FLAGS variable containing flags passed only to make depend.

parent 02e4f55d
No related branches found
No related tags found
No related merge requests found
# $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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment