FreeCalypso > hg > freecalypso-sw
annotate target-utils/Makefile @ 38:5b3d7398d2d9
target-utils top level Makefile buglet
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 13 May 2013 20:40:44 +0000 |
parents | 796da8d60b23 |
children | c9768f5fb329 |
rev | line source |
---|---|
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 PROGS= helloapp loadagent |
38
5b3d7398d2d9
target-utils top level Makefile buglet
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
25
diff
changeset
|
2 LIBS= libcommon libload 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 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${SUBDIR}: FRC |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 cd $@; make ${MFLAGS} |
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 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
|
15 rm -f a.out core errs |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 FRC: |