Code Search for Developers
 
 
  

Makefile from EmStar at Krugle


Show Makefile syntax highlighted

EMSTAR = /scratch/adparker/cens-cvs/emstar
DIFF_GROUP = 123
SIZE = 15
NUM = 12

check_emstar:
	@if [ ! -d ${EMSTAR} ]; then echo; echo ${EMSTAR} does not exist.; echo Fix EMSTAR variable in Makefile; echo; false; fi;

emview: check_emstar
	cd ${EMSTAR}/obj.i686-linux/emview && \
	SIM_GROUP=${DIFF_GROUP} ./emview -a localhost

launch: check_emstar
	cd ${EMSTAR}/obj.i686-linux && \
	SIM_GROUP=${DIFF_GROUP} emrun/emsim ${EMSTAR}/devel/microdiff/testtabs/microdiff.sim ${NUM} ${SIZE}

start: check_emstar
	for ((i = 1; i <= ${NUM}; i++)) \
	do \
	echo start=0 > /dev/sim/group${DIFF_GROUP}/node$$i/Mdiff/status; \
	done

subscribe: check_emstar
	for ((i = 1; i <= ${NUM}; i++)) \
	do \
	echo subscribe=0 > /dev/sim/group${DIFF_GROUP}/node$$i/mdiff_test/status; \
	done




See more files for this project here

EmStar

EmStar is a software system for developing and deploying wireless sensor networks involving Linux-based platforms. As the wireless sensor network community has attempted to deploy more complex designs---large-scale, long-lived systems that need self-organization and adaptivity---a number of difficult software design issues have arisen. Advances in software design have not kept pace with the capabilities of hardware. This is because designing for an adaptive, efficient, and useful sensor network has turned out to be surprisingly complex and difficult. EmStar is a Linux-based software framework, whose goal is to dramatically reduce this complexity, enabling work to be shared and reused, and simplifying and speeding the design of new sensor network applications.

Project homepage: http://cvs.cens.ucla.edu/emstar/
Programming language(s): C,Shell Script
License: other

  Makefile
  commands.txt
  mdiff_filter.c
  mdiff_filter.h
  mdiff_test.c
  mdiff_test.h