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

Makefile 187B

123456789101112
  1. EXAMPLES = $(wildcard *.py)
  2. LOGFILES = ${EXAMPLES:.py=.log}
  3. .PHONY: all
  4. all: $(LOGFILES)
  5. %.log: %.py
  6. python3 $< > $@
  7. clean:
  8. @echo "\e[1m * Example logs...\e[0m"
  9. @rm -f $(LOGFILES)