A repository I stole
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
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)