diff --git a/Makefile.in b/Makefile.in index 9576f5805..9a1eab739 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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