Makefile 408 B

123456789101112131415161718192021222324252627282930
  1. .DEFAULT_GOAL := default
  2. app:
  3. $(MAKE) -f application/Makefile
  4. libs:
  5. $(MAKE) -f libs/Makefile
  6. irc:
  7. $(MAKE) -f protocols/irc/Makefile
  8. xmpp:
  9. $(MAKE) -f protocols/xmpp/Makefile
  10. purple:
  11. ifneq ($(shell uname -m), x86_gcc2)
  12. $(MAKE) -f protocols/purple/Makefile
  13. endif
  14. protocols: irc xmpp purple
  15. all: libs protocols app
  16. clean:
  17. $(MAKE) -f application/Makefile clean
  18. .PHONY: libs protocols
  19. default: all