comparison target-utils/Makefile @ 108:3b9cc76f2073

target-utils/Makefile: make clean: support for subset packaging
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 13 Sep 2013 17:00:09 +0000
parents 02ece4d8c755
children 3daa8ebbe74d
comparison
equal deleted inserted replaced
107:8b44e806b6e1 108:3b9cc76f2073
8 helloapp: libcommon libprintf 8 helloapp: libcommon libprintf
9 loadagent: libcommon libload libprintf 9 loadagent: libcommon libload libprintf
10 pirexplore: libcommon libmpffs libprintf 10 pirexplore: libcommon libmpffs libprintf
11 11
12 ${SUBDIR}: FRC 12 ${SUBDIR}: FRC
13 cd $@; make ${MFLAGS} 13 cd $@; ${MAKE} ${MFLAGS}
14 14
15 clean: FRC 15 clean: FRC
16 rm -f a.out core errs 16 rm -f a.out core errs
17 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done 17 for i in ${SUBDIR}; do \
18 if [ -d $$i ]; then \
19 (cd $$i; ${MAKE} ${MFLAGS} clean) \
20 fi \
21 done
18 22
19 FRC: 23 FRC: