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

18 行
249 B

  1. targets = Factorial.class
  2. build: $(targets)
  3. @true
  4. %.class: %.java
  5. javac $<
  6. test:
  7. $(MAKE) build
  8. for script in tests/*.sh; do sh $$script && echo "$$script passed\n" || echo -e "$$script failed\n" && exit 1; done
  9. clean:
  10. rm -fv $(targets)