File: Makefile.vc

package info (click to toggle)
geoip 1.4.8+dfsg-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,272 kB
  • sloc: ansic: 19,471; sh: 10,137; cpp: 526; perl: 177; makefile: 133; awk: 13
file content (25 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#NMAKE makefile for Windows developers. 
#Produces a static library (GeoIP.lib). 
 
COMPILER=cl 
 
LINK = link -nologo 
 
CFLAGS=-DWIN32 -MD -nologo 
 
GEOIPINC = -I..\libGeoIP 
 
CC1 = $(COMPILER) $(CFLAGS) $(GEOIPINC) 
 
GEOIPLIB = ..\libGeoIP\GeoIP.lib 
 
EXTRA_LIBS= advapi32.lib wsock32.lib 
 
AR=lib 
 
APPS: geoiplookup.exe 
 
geoiplookup.exe: geoiplookup.c 
   $(CC1) -c geoiplookup.c 
   $(LINK) geoiplookup.obj $(GEOIPLIB)