documentation/graphs/Makefile
changeset 829 0d3e4246e790
parent 804 f1c8a12919bc
child 879 9b395c5646ab
equal deleted inserted replaced
828:1ca40d2e6a8d 829:0d3e4246e790
     3 # $Id$
     3 # $Id$
     4 #
     4 #
     5 #-----------------------------------------------------------------------------
     5 #-----------------------------------------------------------------------------
     6 
     6 
     7 GRAPHS := \
     7 GRAPHS := \
     8 	fsm_slave_conf.ps \
     8 	fsm_slave_conf \
     9 	fsm_pdo_mapping.ps \
     9 	fsm_slave_scan \
    10 	fsm_pdo_config.ps \
    10 	fsm_pdo_mapping \
    11 	fsm_master.ps \
    11 	fsm_pdo_config \
    12 	fsm_coe_map.ps
    12 	fsm_master \
       
    13 	fsm_coe_map
    13 
    14 
    14 all: $(GRAPHS)
    15 #-----------------------------------------------------------------------------
       
    16 
       
    17 PS = $(addsuffix .ps,$(GRAPHS))
       
    18 PDF = $(addsuffix .pdf,$(GRAPHS))
       
    19 
       
    20 #-----------------------------------------------------------------------------
       
    21 
       
    22 all: $(PDF)
    15 
    23 
    16 %.ps: %.dot
    24 %.ps: %.dot
    17 	dot -Tps -o $@ $<
    25 	dot -Tps -o $@ $<
    18 
    26 
       
    27 %.pdf: %.ps
       
    28 	ps2pdf $<
       
    29 
    19 clean:
    30 clean:
    20 	@rm -f *.ps
    31 	@rm -f *.ps *.pdf
    21 
    32 
    22 #-----------------------------------------------------------------------------
    33 #-----------------------------------------------------------------------------