view gsm-fw/services/Makefile @ 839:5ab66dadefdd

gdi: power.c compiles
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 25 Apr 2015 19:29:38 +0000
parents b039cafc8e31
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: