1 # $Id: mk_mingw.mak 723 2009-07-09 20:53:19Z dhiebert $
3 # Makefile for Exuberant Ctags under Win32 with MinGW compiler
8 REGEX_DEFINES
= -DHAVE_REGCOMP
-D__USE_GNU
-Dbool
=int
-Dfalse
=0 -Dtrue
=1 -Dstrcasecmp
=stricmp
11 DEFINES
= -DWIN32
$(REGEX_DEFINES
)
12 INCLUDES
= -I.
-Ignu_regex
17 dctags.exe
: DEBUG
= -DDEBUG
18 dctags.exe
: SOURCES
+= debug.c
22 ctags.exe dctags.exe
: $(SOURCES
) $(REGEX_SOURCES
) $(HEADERS
) $(REGEX_HEADERS
)
23 $(CC
) $(OPT
) $(CFLAGS
) $(DEFINES
) $(INCLUDES
) -o
$@
$(SOURCES
) $(REGEX_SOURCES
)
25 readtags.exe
: readtags.c
26 $(CC
) $(OPT
) $(CFLAGS
) -DREADTAGS_MAIN
$(DEFINES
) $(INCLUDES
) -o
$@
$<