p≡p for Java
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.

57 lines
1.3 KiB

  1. # Copyright 2019, pEp Foundation
  2. # This file is part of pEpJNIAdapter Android Build
  3. # This file may be used under the terms of the GNU General Public License version 3
  4. # see LICENSE.txt
  5. HERE_REL := $(notdir $(CURDIR))
  6. include Makefile.conf
  7. ifneq ($(wildcard local.conf),)
  8. $(info ================================================)
  9. $(info Overrides in `local.conf` are used.)
  10. $(info ================================================)
  11. endif
  12. ifdef BUILD_CONFIG
  13. $(info ================================================)
  14. $(info Overrides in `$(BUILD_CONFIG)` are used.)
  15. $(info ================================================)
  16. endif
  17. .PHONY: all build clean clean-all build-arm build-arm64 build-x86 build-x86_64
  18. build: all
  19. all: build-arm build-arm64 build-x86 build-x86_64
  20. build-arm: downloads/downloads.stamp
  21. $(MAKE) -C armeabi-v7a
  22. build-arm64: downloads/downloads.stamp
  23. $(MAKE) -C arm64-v8a
  24. build-x86: downloads/downloads.stamp
  25. $(MAKE) -C x86
  26. build-x86_64: downloads/downloads.stamp
  27. $(MAKE) -C x86_64
  28. clean:
  29. $(MAKE) -C armeabi-v7a clean
  30. $(MAKE) -C arm64-v8a clean
  31. $(MAKE) -C x86 clean
  32. $(MAKE) -C x86_64 clean
  33. clean-all:
  34. $(MAKE) -C downloads clean
  35. $(MAKE) -C armeabi-v7a clean-all
  36. $(MAKE) -C arm64-v8a clean-all
  37. $(MAKE) -C x86 clean-all
  38. $(MAKE) -C x86_64 clean-all
  39. rm -rf build
  40. downloads/downloads.stamp:
  41. $(MAKE) -C downloads
  42. assets: