Making "inline" behave like an attribute. Fixes #1
[arduino-ctags.git] / mk_mvc.mak
blob80a128e74f58193272bb5274df353241a20ce6d0
1 # $Id: mk_mvc.mak 724 2009-07-09 20:54:01Z dhiebert $
3 # Makefile for Win32 using Microsoft Visual C++ compiler
5 include source.mak
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
10 OPT = /O2
12 ctags: ctags.exe
14 ctags.exe: respmvc
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
20 # Debug version
21 dctags.exe: respmvc
22 cl /Zi -DDEBUG /Fe$@ @respmvc debug.c /link setargv.obj
24 regex.obj:
25 cl /c $(OPT) /Fo$@ $(INCLUDES) $(DEFINES) gnu_regex/regex.c
27 respmvc: $(SOURCES) $(REGEX_SOURCES) $(HEADERS) $(REGEX_HEADERS) mk_mvc.mak
28 echo $(DEFINES) > $@
29 echo $(INCLUDES) >> $@
30 echo $(SOURCES) >> $@
31 echo $(REGEX_SOURCES) >> $@
33 mostlyclean:
34 - del *.obj
35 - del dctags.exe
36 - del respmvc
37 - del tags
39 clean: mostlyclean
40 - del ctags.exe