documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 22 Aug 2008 07:41:43 +0000
changeset 1204 4e3e8400c338
parent 1203 acb649738601
child 1478 0b19ac5acad2
permissions -rw-r--r--
Removed examples; fixed undefines references; preliminary version.
#-----------------------------------------------------------------------------
#
# $Id$
#
#-----------------------------------------------------------------------------

GRAPHS := \
	fsm_change \
	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
	epstopdf $<

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

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