[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/hwtest/shimmer Makefile, NONE, 1.1 Makerules, NONE, 1.1

steve ayer ayer1 at users.sourceforge.net
Thu Sep 7 11:36:09 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/hwtest/shimmer
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32673/hwtest/shimmer

Added Files:
	Makefile Makerules 
Log Message:

added mma7260 accelerometer interface/lib
updated shimmer hardware.h adding adc6&7 pins
added hwtest for shimmer gyro board to hwtest; two versions, one three
channel, one six channel
updated interfaces for above and dma.adcinterrupt event now provides
register number 


--- NEW FILE: Makefile ---
######################################################################
#
#  Top-level make file.  Just build all of the apps
#
######################################################################

# handle documentation generation
DOCS := $(filter docs, $(MAKECMDGOALS))
MAKECMDGOALS := $(filter-out docs, $(MAKECMDGOALS))
ifeq ($(DOCS)_x, docs_x)
MAKEFLAGS += -k
endif

# catch-all rule - pass targets on to the lower level
%:
	@for d in `ls`; do \
	if [ -f $$d/Makefile ]; then \
		echo "$$d...."; \
		$(MAKE) -C $$d $@ $(DOCS) \
		|| case "$(MAKEFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
	fi; \
	done; test -z "$$fail"

all:

docs:
	@echo ""
 

--- NEW FILE: Makerules ---
#-*-Makefile-*- vim:syntax=make

######################################################################
# Core Makefile for TinyOS 
######################################################################

TOSDIR ?= $(shell ncc -print-tosdir)
HHTOSDIR ?= $(TOSDIR)/../contrib/handhelds
include $(HHTOSDIR)/tools/make/Makerules

ifneq ($(TARGETS:clean%=clean),clean)
ifneq ($(PLATFORM),shimmer)
$(error You must build this for a SHIMMER)
endif
endif




More information about the Tinyos-contrib-commits mailing list