1
0

Makefile 660 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/dkgetsz: ${TOPDIR}/bin/tools
  11. ${HOSTCC} -O2 -Wall -o $@ dkgetsz.c
  12. install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \
  13. ${TOPDIR}/bin/tools/dkgetsz
  14. include $(TOPDIR)/mk/tools.mk