view gsm-fw/services/Makefile @ 642:b039cafc8e31

PCM integration: linking
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 03 Sep 2014 17:42:09 +0000
parents 083f262b7bbe
children
line wrap: on
line source

sinclude ../include/config.mk

ALL_SUBDIR=	dar etm ffs pcm

BUILD_SUBDIR=	dar ffs
ifeq (${CONFIG_INCLUDE_PCM},1)
BUILD_SUBDIR+=	pcm
endif
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: