summaryrefslogtreecommitdiff
path: root/Makefile
blob: 98ad6e5b8f4e9a662de9f51c338f0990b359520a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#       @(#)Makefile.dist	8.2 (Berkeley) 2/17/1998

SHELL= /bin/sh
SUBDIRS= src mail.local mailstats makemap praliases rmail smrsh
BUILD=   ./Build
OPTIONS= $(CONFIG) $(FLAGS)

all clean install:: FRC
	@for x in $(SUBDIRS); \
	do \
		(cd $$x; echo Making $@ in:; pwd; \
		$(SHELL) $(BUILD) $(OPTIONS) $@); \
	done

fresh:: FRC
	@for x in $(SUBDIRS); \
	do \
		(cd $$x; echo Making $@ in:; pwd; \
		$(SHELL) $(BUILD) $(OPTIONS) -c); \
	done

$(SUBDIRS):: FRC
	@cd $@; pwd; \
	$(SHELL) $(BUILD) $(OPTIONS)

FRC: