Passed warnings, efence flags to child makes
authorewt <devnull@localhost>
Mon, 11 Dec 1995 22:52:36 +0000 (22:52 +0000)
committerewt <devnull@localhost>
Mon, 11 Dec 1995 22:52:36 +0000 (22:52 +0000)
CVS patchset: 2
CVS date: 1995/12/11 22:52:36

Makefile.in

index 9576f58..9a1eab7 100644 (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