Python Library Socket Protocol
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Makefile 283B

12345678910111213141516
  1. EXAMPLES = $(wildcard *.py)
  2. LOGFILES = ${EXAMPLES:.py=.log}
  3. .PHONY: all
  4. all: $(LOGFILES)
  5. %server.log: %server.py
  6. @echo -n
  7. %client.log: %client.py
  8. python3 $(subst client,server,$<) 1> /dev/null&
  9. python3 $< > $@
  10. clean:
  11. @echo "\e[1m * Example logs...\e[0m"
  12. @rm -f $(LOGFILES)