1 # $Id: mk_mvc.mak 724 2009-07-09 20:54:01Z dhiebert $
3 # Makefile for Win32 using Microsoft Visual C++ compiler
7 REGEX_DEFINES
= -DHAVE_REGCOMP
-D__USE_GNU
-Dbool
=int
-Dfalse
=0 -Dtrue
=1 -Dstrcasecmp
=stricmp
8 DEFINES
= -DWIN32
$(REGEX_DEFINES
)
9 INCLUDES
= -I.
-Ignu_regex
15 cl
$(OPT
) /Fe
$@ @respmvc
/link setargv.obj
17 readtags.exe
: readtags.c
18 cl
/clr
$(OPT
) /Fe
$@
$(DEFINES
) -DREADTAGS_MAIN readtags.c
/link setargv.obj
22 cl
/Zi
-DDEBUG
/Fe
$@ @respmvc debug.c
/link setargv.obj
25 cl
/c
$(OPT
) /Fo
$@
$(INCLUDES
) $(DEFINES
) gnu_regex
/regex.c
27 respmvc
: $(SOURCES
) $(REGEX_SOURCES
) $(HEADERS
) $(REGEX_HEADERS
) mk_mvc.mak
29 echo
$(INCLUDES
) >> $@
31 echo
$(REGEX_SOURCES
) >> $@