~ubuntu-branches/ubuntu/karmic/exuberant-ctags/karmic-201010031914

« back to all changes in this revision

Viewing changes to mk_mingw.mak

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-07-14 15:05:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090714150523-rytn1psh622nb709
Tags: 1:5.8-1
* New upstream release. Debian bugs fixed:
  - Add support for ASP classes (closes: #529215).
* Compress files using gzip -n (cf. debhelper 6.0.6).
* Add a watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: mk_mingw.mak 723 2009-07-09 20:53:19Z dhiebert $
 
2
#
 
3
# Makefile for Exuberant Ctags under Win32 with MinGW compiler
 
4
#
 
5
 
 
6
include source.mak
 
7
 
 
8
REGEX_DEFINES = -DHAVE_REGCOMP -D__USE_GNU -Dbool=int -Dfalse=0 -Dtrue=1 -Dstrcasecmp=stricmp
 
9
 
 
10
CFLAGS = -Wall
 
11
DEFINES = -DWIN32 $(REGEX_DEFINES)
 
12
INCLUDES = -I. -Ignu_regex
 
13
CC = gcc
 
14
 
 
15
ctags.exe: OPT = -O4
 
16
dctags.exe: OPT = -g
 
17
dctags.exe: DEBUG = -DDEBUG
 
18
dctags.exe: SOURCES += debug.c
 
19
 
 
20
ctags: ctags.exe
 
21
 
 
22
ctags.exe dctags.exe: $(SOURCES) $(REGEX_SOURCES) $(HEADERS) $(REGEX_HEADERS)
 
23
        $(CC) $(OPT) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $(SOURCES) $(REGEX_SOURCES)
 
24
 
 
25
readtags.exe: readtags.c
 
26
        $(CC) $(OPT) $(CFLAGS) -DREADTAGS_MAIN $(DEFINES) $(INCLUDES) -o $@ $<
 
27
 
 
28
clean:
 
29
        - rm -f ctags.exe
 
30
        - rm -f dctags.exe
 
31
        - rm -f tags