summaryrefslogtreecommitdiff
path: root/Makefile
blob: a7592885466f7fadf56d673ad6d34f07135d0efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUBDIRS = cgi-bin
     
.PHONY: subdirs $(SUBDIRS)
     
subdirs: $(SUBDIRS)
     
$(SUBDIRS):
	$(MAKE) -C $@
     
INSTALLDIRS = $(SUBDIRS:%=install-%)

$(INSTALLDIRS): 
	$(MAKE) -C $(@:install-%=%) install

.PHONY: subdirs $(INSTALLDIRS)

all:

install: $(INSTALLDIRS)
	install -d $(DESTDIR)/usr/bin/
	install mat $(DESTDIR)/usr/bin/