documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Thu, 05 Jan 2012 16:47:23 +0100
branchredundancy
changeset 2311 dc8e5a35bc05
parent 2296 c3f2fab463a0
child 2512 a01947bc9ab6
permissions -rw-r--r--
Allow CoE OD List Segments to have 6 bytes instead of 8.
#-----------------------------------------------------------------------------
#
# $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

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