Passed warnings, efence flags to child makes

CVS patchset: 2
CVS date: 1995/12/11 22:52:36
This commit is contained in:
ewt 1995-12-11 22:52:36 +00:00
parent 7153c16096
commit 93db395636
1 changed files with 4 additions and 2 deletions

View File

@ -4,16 +4,18 @@ PROGS = build
WARNINGS = -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
DEBUG = -g
OPTS = -O2
OPTS =
CFLAGS = $(WARNINGS) $(DEBUG) $(OPTS) -Ilib
LDFLAGS = $(DEBUG) -Llib
LOADLIBES = -lrpm
EFENCE = #-lefence
all: make-subdirs $(OBJS) $(PROGS)
make-subdirs:
for d in $(SUBDIRS); do \
(cd $$d; $(MAKE)) ;\
(cd $$d; $(MAKE) CFLAGS="$(CFLAGS)" OPTS="$(OPTS)" \
WARNINGS="$(WARNINGS)" EFENCE=$(EFENCE)) ;\
done
build: build.o spec.o