source: trunk/indexers/packages/unac/win32.mak@ 13670

Last change on this file since 13670 was 13670, checked in by kjdon, 15 years ago

unac package needed for accent folding in mgpp, and possibly for mg in the future

  • Property svn:keywords set to Author Date Id Revision
File size: 702 bytes
Line 
1# UNAC
2
3CC = cl
4AR = lib
5
6DLL = 0
7DLLDEBUG = 0
8GSDL_VC4 = 0
9
10INCLUDES = -I. -DUNAC_VERSION=\"1.7.0\"
11!IF $(GSDL_VC4)
12CPPFLAGS = -GX
13!ELSE
14CPPFLAGS = -EHsc
15!ENDIF
16
17!IF $(DLL)
18CPPFLAGS = $(CPPFLAGS) -MD
19!ELSE
20!IF ($(DLLDEBUG))
21CPPFLAGS = $(CPPFLAGS) -MDd
22!ENDIF
23!ENDIF
24
25
26COMPILE = $(CC) -nologo -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
27LINK = $(CC) -nologo $(LDFLAGS)
28
29.SUFFIXES:
30.SUFFIXES: .c .obj
31.c.obj:
32 $(COMPILE) $<
33
34ANSI2KNR =
35o = .obj
36e = .exe
37
38LIBS = $(ICONVLIB)
39
40HEADERS = unac.h
41
42SOURCES = unac.c
43
44OBJECTS = unac$o
45
46DEFS =
47
48all: libunac.lib
49
50libunac.lib: $(OBJECTS)
51 if EXIST libunac.lib del libunac.lib
52 $(AR) -nologo /out:libunac.lib $(OBJECTS)
53
54install: all
55
56clean:
57 del *.obj libunac.lib
58
59
Note: See TracBrowser for help on using the repository browser.