File indexing completed on 2024-04-14 05:30:35

0001 UML=plantuml
0002 DOT=dot
0003 OUT=output
0004 SRC= $(wildcard *.dot)
0005 OBJ= $(SRC:.dot=.jpg)
0006 
0007 all: datadir connection_protocole.png $(OBJ)
0008 
0009 datadir:
0010         mkdir -p $(OUT)
0011 
0012 connection_protocole.png: 04_ConnectionProtocole.txt
0013         $(UML) $^ -o $(OUT)/
0014 
0015 %.jpg: %.dot
0016         $(DOT) -Tjpg $^ -o $(OUT)/$@
0017 
0018 .PHONY: clean
0019 
0020 clean:
0021         rm -rf $(OUT)