main.mk 342 B

1234567891011121314
  1. # build paths
  2. TOPDIR := .
  3. BUILD_SYSTEM := $(TOPDIR)/build
  4. BUILD_GAPPS := $(BUILD_SYSTEM)/gapps.sh
  5. OUTDIR := $(TOPDIR)/out
  6. LOG_BUILD := /tmp/gapps_log
  7. distclean :
  8. @rm -fr $(OUTDIR)
  9. @echo "$(tput setaf 2)Output removed! Ready for a clean build$(tput sgr 0)"
  10. gapps :
  11. @echo "Compiling GApps..."
  12. @bash $(BUILD_GAPPS) 2>&1 | tee $(LOG_BUILD)