documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Thu, 06 Sep 2012 14:21:02 +0200
changeset 2415 af21f0bdc7c9
parent 2414 f35c7c8e6591
child 2589 2b9c78543663
permissions -rw-r--r--
merge.
#-----------------------------------------------------------------------------
#
# $Id$
#
#-----------------------------------------------------------------------------

GRAPHS := \
	fsm_change \
	fsm_eoe \
	fsm_master \
	fsm_pdo_conf \
	fsm_pdo_entry_conf \
	fsm_pdo_entry_read \
	fsm_pdo_read \
	fsm_sii \
	fsm_slave_conf \
	fsm_slave_scan

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

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

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

all: pdf

pdf: $(PDF)

ps: $(PS)

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

%.pdf: %.ps
	ps2pdf $<

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

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