documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Mon, 28 Jul 2008 14:06:03 +0000
changeset 1165 c5d6e28eec91
parent 879 9b395c5646ab
child 1174 235f34ca50e2
permissions -rw-r--r--
Added 'ethercat version' command.
#-----------------------------------------------------------------------------
#
# $Id$
#
#-----------------------------------------------------------------------------

GRAPHS := \
	fsm_coe_map \
	fsm_master \
	fsm_pdo_assign \
	fsm_pdo_mapping \
	fsm_slave_conf \
	fsm_slave_scan

#-----------------------------------------------------------------------------

PS = $(addsuffix .ps,$(GRAPHS))
PDF = $(addsuffix .pdf,$(GRAPHS))

#-----------------------------------------------------------------------------

all: $(PDF)

%.ps: %.dot
	dot -Tps -o $@ $<

%.pdf: %.ps
	ps2pdf $<

clean:
	@rm -f *.ps *.pdf

#-----------------------------------------------------------------------------