FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/Makefile @ 308:3c5a17928fda
DAR: starting to clean and compile .c files
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 16 Mar 2014 20:46:10 +0000 |
parents | 749ca89741fa |
children | 083f262b7bbe |
rev | line source |
---|---|
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
1 sinclude ../include/config.mk |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
2 |
307
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
222
diff
changeset
|
3 ALL_SUBDIR= dar etm ffs |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
5 BUILD_SUBDIR= ffs |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
6 ifeq (${RVM_ETM_SWE},1) |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
7 BUILD_SUBDIR+= etm |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
8 endif |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
10 all: ${BUILD_SUBDIR} |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
11 |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
12 ${BUILD_SUBDIR}: FRC |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 cd $@; ${MAKE} ${MFLAGS} |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 clean: FRC |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 rm -f *.[oa] *.out *errs |
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
17 for i in ${ALL_SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 FRC: |