source: trunk/base/Mk/macports.subdir.mk

Last change on this file was 117614, checked in by cal@…, 6 years ago

macports.subdir.mk: Mark test as .PHONY

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 750 bytes
Line 
1# $Id: macports.subdir.mk 117614 2014-03-05 20:34:36Z cal@macports.org $
2
3.PHONY : all
4.PHONY : clean distclean
5.PHONY : install
6.PHONY : test
7
8all::
9        @for subdir in $(SUBDIR); do\
10                echo ===\> making $@ in ${DIRPRFX}$$subdir; \
11                ( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
12        done
13
14clean distclean::
15        @for subdir in $(SUBDIR); do\
16                echo ===\> making $@ in ${DIRPRFX}$$subdir; \
17                ( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
18        done
19
20test::
21        @for subdir in $(SUBDIR); do\
22                echo ===\> making $@ in ${DIRPRFX}$$subdir; \
23                ( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
24        done
25
26install::
27        @for subdir in $(SUBDIR); do\
28                echo ===\> making $@ in ${DIRPRFX}$$subdir; \
29                ( cd $$subdir && $(MAKE) DIRPRFX=${DIRPRFX}$$subdir/ $@) || exit 1; \
30        done
Note: See TracBrowser for help on using the repository browser.