Makefile 825 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $MirOS: contrib/hosted/fwcf/GNUmakefile,v 1.8 2007/03/09 23:09:34 tg Exp $
  2. #-
  3. # This file is part of the FreeWRT project. FreeWRT is copyrighted
  4. # material, please see the LICENCE file in the top-level directory
  5. # or at http://www.freewrt.org/licence for details.
  6. SRCS+= tool.c
  7. SRCS+= sys_linux.c
  8. SRCS+= replace.c
  9. SRCS+= compress.c
  10. #SRCS+= fts_debg.c
  11. SRCS+= cpr_get.c
  12. SRCS+= cpr_list.c
  13. SRCS+= cpr_lsth.c
  14. SRCS+= ft_creat.c
  15. SRCS+= ft_pack.c
  16. SRCS+= ft_packm.c
  17. SRCS+= fts_subs.c
  18. SRCS+= header.c
  19. SRCS+= minilzop.c
  20. SRCS+= unwraps.c
  21. SRCS+= wraps.c
  22. # the compressor
  23. SRCS+= c_lzo1x1.c
  24. CPPFLAGS+= -Ibundled
  25. OBJS= ${SRCS:.c=.o}
  26. # build for the target
  27. CPPFLAGS+= -DSMALL -D__USE_GNU
  28. # missing in uClibc
  29. SRCS+= fts.c
  30. CPPFLAGS+= -I.
  31. all: fwcf.helper.out
  32. fwcf.helper.out: ${OBJS}
  33. ${CC} -o $@ ${OBJS} ${LDFLAGS}