view gsm-fw/services/Makefile @ 222:02e80fcc3a5a

gsm-fw/services/Makefile: build ETM only when it is enabled
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 07 Jan 2014 04:16:16 +0000
parents 3ebe6409e8bc
children 749ca89741fa
line wrap: on
line source

sinclude ../include/config.mk

ALL_SUBDIR=	etm ffs

BUILD_SUBDIR=	ffs
ifeq (${RVM_ETM_SWE},1)
BUILD_SUBDIR+=	etm
endif

all:	${BUILD_SUBDIR}

${BUILD_SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS}

clean: FRC
	rm -f *.[oa] *.out *errs
	for i in ${ALL_SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

FRC: