view gsm-fw/Makefile @ 776:5a0c58760ae2

gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 12 Oct 2014 02:10:23 +0000
parents 5ec79b82ab04
children f74c5d3d3b06
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 create a valid build.conf file by running config.sh'
	@echo 'or copying an existing configuration file into place.'
	@false

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

FRC: