#-----------------------------------------------------------------------------
#
# make <prog>	- build a particular RCI demo program.
#
#-----------------------------------------------------------------------------

CFLAGS = $(RCC_CFLAGS)

DEMO =	enctoangDemo angtoencDemo gravityDemo memDemo msgDemo onSigDemo \
	shmemDemo simrobDemo zerogDemo

demo : $(DEMO)

rccProgram(enctoangDemo,enctoangDemo.o,,)
rccProgram(angtoencDemo,angtoencDemo.o,,)
rccProgram(gravityDemo,gravityDemo.o,gravityCtrl.o,)
rccProgram(memDemo,memDemo.o,memDemoCtrl.o,)
rccProgram(msgDemo,msgDemo.o,msgDemoCtrl.o,)
rccProgram(onSigDemo,onSigDemo.o,onSigDemoCtrl.o,)
rccProgram(shmemDemo,shmemDemo.o,shmemDemoCtrl.o,)
rccProgram(simrobDemo,simrobDemo.o,simrobDemoCtrl.o,)
rccProgram(zerogDemo,zerogDemo.o,zerogDemoCtrl.o,)

rccModule(gravityDemo)
rccModule(zerogDemo)

ctrlModule(gravityCtrl)
ctrlModule(memDemoCtrl)
ctrlModule(msgDemoCtrl)
ctrlModule(onSigDemoCtrl)
ctrlModule(shmemDemoCtrl)
ctrlModule(simrobDemoCtrl)
ctrlModule(zerogDemoCtrl)

makeClean(*Demo)
makeDepend()
maintainVxwSubdir()
