view gsm-fw/services/Makefile @ 318:0c87c1f9dac5

GPF: beginning of Makefile hierarchy
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 11 Apr 2014 05:46:44 +0000
parents 083f262b7bbe
children b039cafc8e31
line wrap: on
line source

sinclude ../include/config.mk

ALL_SUBDIR=	dar etm ffs

BUILD_SUBDIR=	dar 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: