1
0

Makefile 672 B

12345678910111213141516171819202122232425262728293031323334
  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. SRCS+= \
  5. src/ib_open.c \
  6. src/ib_close.c \
  7. src/ib_read.c \
  8. src/ib_alloc.c \
  9. src/ib_free.c \
  10. src/ib_getlin.c \
  11. src/sfile.c \
  12. src/gmatch.c \
  13. src/memalign.c
  14. SRCS+= \
  15. src/version.c \
  16. src/blast.c \
  17. src/crc32.c \
  18. src/expand.c \
  19. src/explode.c \
  20. src/flags.c \
  21. src/inflate.c \
  22. src/unshrink.c \
  23. src/nonpax.c \
  24. src/cpio.c
  25. ${STAGING_TOOLS}/bin/cpio: ${SRCS}
  26. ${HOSTCC} ${HOSTCFLAGS} -D_GNU_SOURCE -Isrc -o $@ $^
  27. install: ${STAGING_TOOLS}/bin/cpio
  28. include $(TOPDIR)/mk/tools.mk