Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (10 sloc) 0.235 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
CC=cc
DEBUG=
#DEBUG=-g3

all: geoip geoip.vcl

geoip: geoip.c
$(CC) -Wall -Wno-unused -pedantic $(DEBUG) -o geoip geoip.c -lGeoIP

geoip.vcl: Makefile geoip.c gen_vcl.pl
./gen_vcl.pl < geoip.c > geoip.vcl

test:
prove -I./t -v ./t
Something went wrong with that request. Please try again.