#-----------------------------------------------------------------------------
# 
# make puma260	- build all demo programs for the PUMA 260
# make puma560  - build all demo programs for the PUMA 560
#
# make <prog>	- build a particular demo program.
#
#-----------------------------------------------------------------------------

CFLAGS = -g $(RCC_CFLAGS) -I../h

PUMA260 = simple.260 box.260 hex.260 zigzag.260 rotate.260 \
	  pivot.260 guarded.260 track.260 pickAndDrop.260 cylin.260

PUMA560 = simple.560 box.560 hex.560 zigzag.560 rotate.560 \
	  pivot.560 guarded.560 track.560 pickAndDrop.560 cylin.560 \
	  trackII.560 comply.560

ELBOW = simple.560 box.560 hex.elbow zigzag.560 rotate.560 \
	  pivot.560 guarded.560 track.560 pickAndDrop.560 cylin.560 \
	  trackII.560 comply.560

STAN = simple.560 box.560 hex.560 zigzag.560 rotate.560 \
	  pivot.stan guarded.560 track.560 pickAndDrop.560 cylin.560 \
	  trackII.560 comply.560

GENERIC = playback jmove sim logger

puma260: $(PUMA260) $(GENERIC)

puma560: $(PUMA560) $(GENERIC)

UO = 
CO =

rccTestProgram(simple.560,simple.560.o,,)
rccTestProgram(box.560,box.560.o,,)
rccTestProgram(hex.560,hex.560.o,,)
rccTestProgram(pickAndDrop.560,pickAndDrop.560.o,,)
rccTestProgram(zigzag.560,zigzag.560.o,zigzagCtrl.560.o,)
rccTestProgram(rotate.560,rotate.560.o,rotateCtrl.560.o,)
rccTestProgram(pivot.560,pivot.560.o,pivotCtrl.560.o,)
rccTestProgram(guarded.560,guarded.560.o,guardedCtrl.560.o,)
rccTestProgram(track.560,track.560.o,trackCtrl.560.o,)
rccTestProgram(comply.560,comply.560.o,complyCtrl.560.o,)
rccTestProgram(trackII.560,trackII.560.o,trackIICtrl.560.o,)
COMPCTRL = complyCtrl.560.o
rccTestProgram(cylin.560,cylin.560.o cylinSubs.o,cylinCtrl.560.o $(COMPCTRL),)

rccTestProgram(simple.260,simple.260.o,,)
rccTestProgram(box.260,box.260.o,,)
rccTestProgram(hex.260,hex.260.o,,)
rccTestProgram(pickAndDrop.260,pickAndDrop.260.o,,)
rccTestProgram(zigzag.260,zigzag.260.o,zigzagCtrl.260.o,)
rccTestProgram(rotate.260,rotate.260.o,rotateCtrl.260.o,)
rccTestProgram(pivot.260,pivot.260.o,pivotCtrl.260.o,)
rccTestProgram(guarded.260,guarded.260.o,guardedCtrl.260.o,)
rccTestProgram(track.260,track.260.o,trackCtrl.260.o,)
rccTestProgram(cylin.260,cylin.260.o cylinSubs.o,cylinCtrl.260.o $(COMPCTRL),)

rccTestProgram(hex.elbow,hex.elbow.o,,)

rccTestProgram(pivot.stan,pivot.stan.o,pivotCtrl.560.o,)

rccTestProgram(jmove,jmove.o,,)
rccTestProgram(playback,playback.o,,)
rccTestProgram(sim,sim.o,simCtrl.o,)
rccTestProgram(logger,logger.o,loggerCtrl.o,)

ctrlModule(zigzagCtrl.560)
ctrlModule(rotateCtrl.560)
ctrlModule(pivotCtrl.560)
ctrlModule(guardedCtrl.560)
ctrlModule(trackCtrl.560)
ctrlModule(complyCtrl.560)
ctrlModule(trackIICtrl.560)
ctrlModule(cylinCtrl.560)
ctrlModule(zigzagCtrl.260)
ctrlModule(rotateCtrl.260)
ctrlModule(pivotCtrl.260)
ctrlModule(guardedCtrl.260)
ctrlModule(trackCtrl.260)
ctrlModule(cylinCtrl.260)
ctrlModule(simCtrl)
ctrlModule(loggerCtrl)

makeClean($(GENERIC) $(PUMA260) $(PUMA560) $(ELBOW) $(STAN) clf jlf log)
makeDepend()
maintainVxwSubdir()
