view gsm-fw/Makefile @ 832:c14bc60c6c30

gsm-fw/g23m-glue/cst: import from Leonardo source
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 23 Apr 2015 06:45:55 +0000
parents f74c5d3d3b06
children 43e1b343b7fd
line wrap: on
line source

SUBDIR=	L1 bsp ccd comlib finlink g23m-aci g23m-gsm gpf include nucleus riviera\
	serial services sprintf sysglue

default:	config.stamp
	${MAKE} ${MFLAGS} -f Makefile.build $@

ramImage flashImage:	config.stamp
	${MAKE} ${MFLAGS} -f Makefile.build $@

config.stamp:	build.conf
	cfgmagic/processconf.sh
	touch $@

build.conf:
	@echo 'Configuration is required before the build.'
	@echo 'Please copy one of the configuration files under configs/'
	@echo 'to build.conf, optionally edit it to taste, and then run make.'
	@false

clean: FRC
	rm -f a.out core errs *.stamp
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

FRC: