]> arthur.barton.de Git - ax-linux.git/blob - Makefile.ax
btrfs-mksnapshot: detect default subvolume on "/"
[ax-linux.git] / Makefile.ax
1 #
2 # ax-linux: Alex' Linux Tools & Scripts
3 # Copyright (c)2013 Alexander Barton (alex@barton.de)
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10
11 AX_SILENT = @
12
13 $(SUBDIRS):
14         $(MAKE) -C $@
15
16 clean: clean-ax clean-local
17
18 clean-ax:
19         $(AX_SILENT)for subdir in $(SUBDIRS); do \
20           $(MAKE) -C $$subdir clean || exit 1; \
21          done
22
23 distclean: distclean-ax distclean-local
24
25 distclean-ax:
26         $(AX_SILENT)for subdir in $(SUBDIRS); do \
27           $(MAKE) -C $$subdir distclean || exit 1; \
28          done
29
30 maintainer-clean: maintainer-clean-ax maintainer-clean-local
31
32 maintainer-clean-ax:
33         $(AX_SILENT)for subdir in $(SUBDIRS); do \
34           $(MAKE) -C $$subdir maintainer-clean || exit 1; \
35          done
36
37 check: check-ax check-local
38
39 check-ax:
40         $(AX_SILENT)for subdir in $(SUBDIRS); do \
41           $(MAKE) -C $$subdir check || exit 1; \
42          done
43
44 install: install-ax install-local
45
46 install-ax:
47         $(AX_SILENT)for subdir in $(SUBDIRS); do \
48           $(MAKE) -C $$subdir install || exit 1; \
49          done
50
51 .PHONY: all clean distclean maintainer-clean check install
52 .PHONY: clean-ax distclean-ax maintainer-clean-ax check-ax install-ax
53 .PHONY: clean-local distclean-local maintainer-clean-local check-local install-local
54 .PHONY: $(SUBDIRS)