documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Mon, 23 Jul 2012 12:23:42 +0200
changeset 2396 d46f2668a409
parent 2152 cc8fcd840e30
child 2414 f35c7c8e6591
permissions -rw-r--r--
Applied ethtool patch from Jun Yuan.
#-----------------------------------------------------------------------------
#
# $Id: Makefile,v 0b19ac5acad2 2009/06/18 11:40:13 fp $
#
#-----------------------------------------------------------------------------

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

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