view nuc-fw/Makefile @ 91:3641e44f044e

nuc-fw config: export_to_*(): catch multiple exports of the same setting
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 25 Aug 2013 20:13:24 +0000
parents d01098eccf21
children 3b2e941043d8
line wrap: on
line source

SUBDIR=		finlink include nucdemo nucleus 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: