documentation/graphs/Makefile
changeset 2589 2b9c78543663
parent 2414 f35c7c8e6591
equal deleted inserted replaced
2415:af21f0bdc7c9 2589:2b9c78543663
    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 #-----------------------------------------------------------------------------