FreeCalypso > hg > freecalypso-sw
annotate target-utils/Makefile @ 956:1557e15a012f
target-utils refactoring: memory dump commands moved from libload to libcommon
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 04 Nov 2015 20:48:40 +0000 |
parents | 76149e0628ba |
children | 9dd7f304fd94 |
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 |
947
76149e0628ba
target-utils/Makefile: c139explore added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
378
diff
changeset
|
2 ALLPROGS= ${FOR_LOADTOOLS} c139explore 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 |
947
76149e0628ba
target-utils/Makefile: c139explore added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
378
diff
changeset
|
9 c139explore: libcommon 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
|
10 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
|
11 loadagent: libcommon libload libprintf |
956
1557e15a012f
target-utils refactoring: memory dump commands moved from libload to libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
947
diff
changeset
|
12 pirexplore: libcommon 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
|
13 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 ${SUBDIR}: FRC |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
15 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
|
16 |
378
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
17 install: FRC |
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
18 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
|
19 |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 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
|
21 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
|
22 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
|
23 if [ -d $$i ]; then \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
24 (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
|
25 fi \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
26 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
|
27 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 FRC: |