A repository I stole
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 年之前
1234567891011121314151617
  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)