summaryrefslogtreecommitdiff
path: root/dviware/mdvi/config/targets.mk
blob: a9c07b5bf7b3f176eabed4ecccd25831af9d9d12 (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
27
28

.PHONY: clean-local
clean-local:
	$(RM) $(CLEANABLE)

.PHONY: clean-subdirs
clean-subdirs:
	@list="$(SUBDIRS)"; for i in $$list; do \
	  $(MAKE) -C $$i clean; \
	done

.PHONY: clean
clean: clean-subdirs clean-local

.PHONY: distclean-local
distclean-local: clean-local
	$(RM) $(DISTCLEANABLE)

.PHONY: distclean-subdirs
distclean-subdirs:
	@list="$(SUBDIRS)"; for i in $$list; do \
	  if test -d "$$i"; then \
	    $(MAKE) -C $$i distclean; \
	  else :; fi; \
	done

.PHONY: distclean realclean
distclean realclean: distclean-subdirs distclean-local