Makefile 658 B

123456789101112131415161718192021222324252627282930
  1. # -*- coding: utf-8; tab-width: 4 -*-
  2. # vim: ts=4 noet ai
  3. # Part of Zombie Navigator
  4. # Copyright © 2016 Zombie Navigator Developers
  5. all: addon
  6. .PHONY: all addon update-info git-submodule
  7. addon: update-info deps-check
  8. ./tools/build.sh
  9. update-info:
  10. ./tools/update-info.sh
  11. deps: git-submodule
  12. deps-check: git-submodule-check
  13. # XXX: Clean up make rules
  14. git-submodule-check:
  15. @[ -d ./deps/jpm-core/data ] || { echo "Run 'make deps' first!" ; false ;}
  16. git-submodule:
  17. @echo "Git will access online repositories!!!"
  18. @echo "Interrupt within 5 seconds if you are not ready..."
  19. sleep 5
  20. @echo "Now invoking Git!"
  21. git submodule update --init --recursive