Makefile 367 B

12345678910111213141516171819202122
  1. ###
  2. #
  3. # This is a simple make file demonstrating how to make complex build
  4. # dependencies, letting make handle those for you.
  5. #
  6. ###
  7. bla:
  8. echo "bla" && exit 1;
  9. # This target will never succeed because it depends on bla, which always fails
  10. foo: bla
  11. echo "foo"
  12. okydoky:
  13. echo "okyliydokilydoo" && exit 0;
  14. fine: okydoky
  15. echo "I'm fine"
  16. .PHONY: bla foo okydoky