FreeCalypso > hg > freecalypso-sw
annotate target-utils/Makefile @ 395:8891c3d0c68a
fc-loadtool: pass abb[rw] commands through to loadagent
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 11 Jun 2014 17:49:13 +0000 |
parents | 3164604a6c70 |
children | 76149e0628ba |
rev | line source |
---|---|
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
1 FOR_LOADTOOLS= compalstage loadagent |
358
b39802cd9329
target-utils/Makefile: tf-breakin subdir added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
315
diff
changeset
|
2 ALLPROGS= ${FOR_LOADTOOLS} helloapp pirexplore tf-breakin |
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
3 LIBS= libcommon libload libprintf libtiffs |
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
4 SUBDIR= ${ALLPROGS} ${LIBS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 |
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
6 default: ${FOR_LOADTOOLS} |
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
7 all: ${ALLPROGS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 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
|
10 loadagent: libcommon libload libprintf |
224
2900fe603f8a
beginning of MPFFS->TIFFS naming convention change
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
196
diff
changeset
|
11 pirexplore: libcommon libload libprintf libtiffs |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ${SUBDIR}: FRC |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
14 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
|
15 |
378
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
16 install: FRC |
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
17 for i in ${FOR_LOADTOOLS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
18 |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 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
|
20 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
|
21 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
|
22 if [ -d $$i ]; then \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
23 (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
|
24 fi \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
25 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
|
26 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 FRC: |