documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Tue, 10 Jun 2008 12:52:08 +0000
changeset 988 a47c5a3c143d
parent 879 9b395c5646ab
child 1174 235f34ca50e2
permissions -rw-r--r--
Improved 'ethercat ls' formatting.
#-----------------------------------------------------------------------------
#
# $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

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