Makefile 655 B

123456789101112131415161718192021
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. $(TOPDIR)/bin/tools:
  5. @mkdir -p $(TOPDIR)/bin/tools
  6. ${TOPDIR}/bin/tools/depmaker: $(TOPDIR)/bin/tools
  7. $(HOSTCC) -o $(TOPDIR)/bin/tools/depmaker depmaker.c
  8. ${TOPDIR}/bin/tools/pkgrebuild: $(TOPDIR)/bin/tools
  9. $(HOSTCC) -o $(TOPDIR)/bin/tools/pkgrebuild pkgrebuild.c strmap.c
  10. ${TOPDIR}/bin/tools/pt: $(TOPDIR)/bin/tools
  11. $(HOSTCC) -o $(TOPDIR)/bin/tools/pt pt.c
  12. install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \
  13. $(TOPDIR)/bin/tools/pt
  14. include $(TOPDIR)/mk/tools.mk