documentation/graphs/Makefile
branchstable-1.5
changeset 2512 a01947bc9ab6
parent 2140 e24a695792c7
equal deleted inserted replaced
2511:cb03c618a9e2 2512:a01947bc9ab6
    16 	fsm_slave_conf \
    16 	fsm_slave_conf \
    17 	fsm_slave_scan
    17 	fsm_slave_scan
    18 
    18 
    19 #-----------------------------------------------------------------------------
    19 #-----------------------------------------------------------------------------
    20 
    20 
    21 PS = $(addsuffix .ps,$(GRAPHS))
       
    22 PDF = $(addsuffix .pdf,$(GRAPHS))
    21 PDF = $(addsuffix .pdf,$(GRAPHS))
    23 
    22 
    24 #-----------------------------------------------------------------------------
    23 #-----------------------------------------------------------------------------
    25 
    24 
    26 all: pdf
    25 all: pdf
    27 
    26 
    28 pdf: $(PDF)
    27 pdf: $(PDF)
    29 
    28 
    30 ps: $(PS)
    29 %.pdf: %.dot
    31 
    30 	dot -Tpdf -o $@ $<
    32 %.ps: %.dot
       
    33 	dot -Tps -o $@ $<
       
    34 
       
    35 %.pdf: %.ps
       
    36 	ps2pdf $<
       
    37 
    31 
    38 clean:
    32 clean:
    39 	@rm -f *.ps *.pdf
    33 	@rm -f *.pdf
    40 
    34 
    41 #-----------------------------------------------------------------------------
    35 #-----------------------------------------------------------------------------