/usr/share/doc/libgeoip-dev/examples/Makefile.vc is in libgeoip-dev 1.6.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 26 27 28 | #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) -DSRCDIR=\"../\"
GEOIPLIB = ..\libGeoIP\GeoIP.lib
EXTRA_LIBS= advapi32.lib wsock32.lib
AR=lib
TEST: benchmark.exe test-geoip.exe
benchmark.exe: benchmark.c
$(CC1) -c benchmark.c
$(LINK) benchmark.obj $(GEOIPLIB)
test-geoip.exe: test-geoip.c
$(CC1) -c test-geoip.c
$(LINK) test-geoip.obj $(GEOIPLIB)
|