view services/Makefile @ 43:bceffa414fc6

cst_pei.c: added the same support for DISABLE_SLEEP as in Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Sep 2017 16:16:57 +0000
parents 75a11d740a02
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: