diff options
Diffstat (limited to 'auto/lib/pcre/makefile.msvc')
-rw-r--r-- | auto/lib/pcre/makefile.msvc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/auto/lib/pcre/makefile.msvc b/auto/lib/pcre/makefile.msvc new file mode 100644 index 000000000..e5c2aec29 --- /dev/null +++ b/auto/lib/pcre/makefile.msvc @@ -0,0 +1,18 @@ + +CC = cl +CFLAGS = -O2 -Ob1 -Oi -Gs -MT +LINK = link + +PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 + + +all: + $(CC) -Fedftables dftables.c + + dftables > chartables.c + + $(CC) -nologo -c $(CFLAGS) $(PCREFLAGS) \ + maketables.c get.c study.c pcre.c + + $(LINK) -lib -out:pcre.lib -verbose:lib \ + maketables.obj get.obj study.obj pcre.obj |