documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Thu, 13 Aug 2009 10:13:02 +0200
changeset 1525 ee18735e534f
parent 1478 0b19ac5acad2
child 2140 e24a695792c7
child 2152 cc8fcd840e30
permissions -rw-r--r--
Ignore m4 files.
#-----------------------------------------------------------------------------
#
# $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
	epstopdf $<

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

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