makefile.msvc 500 B

123456789101112131415161718192021222324
  1. # Copyright (C) Igor Sysoev
  2. CFLAGS = -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
  3. PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
  4. pcre.lib: pcre.h
  5. cl -Fedftables dftables.c
  6. dftables > chartables.c
  7. cl -nologo -c $(CFLAGS) $(PCREFLAGS) \
  8. maketables.c get.c study.c pcre.c
  9. link -lib -out:pcre.lib -verbose:lib \
  10. maketables.obj get.obj study.obj pcre.obj
  11. pcre.h:
  12. patch -o pcre.h pcre.in patch.pcre.in
  13. patch -o config.h config.in patch.config.in
  14. patch -o pcre.c pcre.c patch.pcre.c