FreeCalypso > hg > freecalypso-sw
annotate target-utils/Makefile @ 196:3daa8ebbe74d
pirexplore: a bit of refactoring
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 14 Dec 2013 07:55:22 +0000 |
parents | 3b9cc76f2073 |
children | 2900fe603f8a |
rev | line source |
---|---|
75
c9768f5fb329
target-utils: pirexplore added to top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
38
diff
changeset
|
1 PROGS= helloapp loadagent pirexplore |
100
02ece4d8c755
pirexplore: beginning of FFS support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
75
diff
changeset
|
2 LIBS= libcommon libload libmpffs libprintf |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 SUBDIR= ${PROGS} ${LIBS} |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 default: loadagent |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 all: ${PROGS} |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 helloapp: libcommon libprintf |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 loadagent: libcommon libload libprintf |
196
3daa8ebbe74d
pirexplore: a bit of refactoring
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
10 pirexplore: libcommon libload libmpffs libprintf |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 ${SUBDIR}: FRC |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
13 cd $@; ${MAKE} ${MFLAGS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 clean: FRC |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 rm -f a.out core errs |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
17 for i in ${SUBDIR}; do \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
18 if [ -d $$i ]; then \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
19 (cd $$i; ${MAKE} ${MFLAGS} clean) \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
20 fi \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
21 done |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 FRC: |