makefile.owc 421 B

123456789101112131415161718192021222324
  1. # Copyright (C) Igor Sysoev
  2. CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
  3. PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
  4. pcre.lib:
  5. cd $(PCRE)
  6. wcl386 $(CFLAGS) -i=. $(PCREFLAGS) pcre_*.c
  7. dir /b *.obj > pcre.lst
  8. wlib -n pcre.lib @pcre.lst
  9. pcre.h:
  10. cd $(PCRE)
  11. copy /y pcre.h.generic pcre.h
  12. copy /y config.h.generic config.h
  13. copy /y pcre_chartables.c.dist pcre_chartables.c