Makefile 671 B

1234567891011121314151617181920212223242526272829303132
  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. install: ${TOOLS_DIR}/cpio
  5. SRCS:= 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/sigset.c \
  14. src/memalign.c \
  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. ${TOOLS_DIR}/cpio: ${SRCS}
  26. ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -D_GNU_SOURCE -Isrc -o $@ $^
  27. include $(TOPDIR)/mk/tools.mk