makefile.bcc 530 B

123456789101112131415161718192021222324252627
  1. # Copyright (C) Igor Sysoev
  2. # Copyright (C) Nginx, Inc.
  3. CFLAGS = -q -O2 -tWM -w-8004 $(CPU_OPT)
  4. PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 \
  5. -DSUPPORT_PCRE8 -DHAVE_MEMMOVE
  6. pcre.lib:
  7. cd $(PCRE)
  8. bcc32 -c $(CFLAGS) -I. $(PCREFLAGS) pcre_*.c
  9. copy /y nul pcre.lst
  10. for %n in (*.obj) do @echo +%n ^^& >> pcre.lst
  11. echo + >> pcre.lst
  12. tlib pcre.lib @pcre.lst
  13. pcre.h:
  14. cd $(PCRE)
  15. copy /y pcre.h.generic pcre.h
  16. copy /y config.h.generic config.h
  17. copy /y pcre_chartables.c.dist pcre_chartables.c