makefile.msvc 474 B

1234567891011121314151617181920212223
  1. # Copyright (C) Igor Sysoev
  2. # Copyright (C) Nginx, Inc.
  3. CFLAGS = -O2 -Ob1 -Oi -Gs $(LIBC) $(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. cl -nologo -c $(CFLAGS) -I . $(PCREFLAGS) pcre_*.c
  9. link -lib -out:pcre.lib -verbose:lib pcre_*.obj
  10. pcre.h:
  11. cd $(PCRE)
  12. copy /y pcre.h.generic pcre.h
  13. copy /y config.h.generic config.h
  14. copy /y pcre_chartables.c.dist pcre_chartables.c