Making "inline" behave like an attribute. Fixes #1
[arduino-ctags.git] / mk_mingw.mak
blob32a61ae87dc91a35bf1aa9dfbe0bb6b5dca193be
1 # $Id: mk_mingw.mak 723 2009-07-09 20:53:19Z dhiebert $
3 # Makefile for Exuberant Ctags under Win32 with MinGW compiler
6 include source.mak
8 REGEX_DEFINES = -DHAVE_REGCOMP -D__USE_GNU -Dbool=int -Dfalse=0 -Dtrue=1 -Dstrcasecmp=stricmp
10 CFLAGS = -Wall
11 DEFINES = -DWIN32 $(REGEX_DEFINES)
12 INCLUDES = -I. -Ignu_regex
13 CC = gcc
15 ctags.exe: OPT = -O4
16 dctags.exe: OPT = -g
17 dctags.exe: DEBUG = -DDEBUG
18 dctags.exe: SOURCES += debug.c
20 ctags: ctags.exe
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 $@ $<
28 clean:
29 - rm -f ctags.exe
30 - rm -f dctags.exe
31 - rm -f tags