# To be defined on the "make" command line:
M3TARGET = M3TARGET.IS.UNDEFINED

CYLS = \
  cylinder-12x4.top        \
  cylinder-12x6-fix.top    \
  cylinder-3x1.top        \
  cylinder-6x2.top        \
  cylinder-6x4.top        \
  cylinder-6x6-fix.top

PROG = ../$(M3TARGET)/MakeRawCylinder

all: $(CYLS)

cylinder-12x4.top       : $(PROG) ; \
  $(PROG) -perimeter 12 -height 4 

cylinder-12x6-fix.top   : $(PROG) ; \
  $(PROG) -perimeter 12 -height 6  -fixBorder

cylinder-3x1.top       : $(PROG) ; \
  $(PROG) -perimeter 3 -height 1

cylinder-6x2.top       : $(PROG) ; \
  $(PROG) -perimeter 6 -height 2

cylinder-6x4.top       : $(PROG) ; \
  $(PROG) -perimeter 6 -height 4

cylinder-6x6-fix.top   : $(PROG) ; \
  $(PROG) -perimeter 6 -height 6 -fixBorder