haproxy/contrib/iprange/Makefile
Willy Tarreau 9bb0e2042e MINOR: contrib/iprange: add a network IP range to mask converter
This tool has remained uncommitted in my development tree for almost a year.
Just minor polish and commit.

It can be used to convert some geolocation IP lists to ACLs.
2012-04-02 21:44:05 +02:00

14 lines
159 B
Makefile

CC = gcc
OPTIMIZE = -O3
LDFLAGS = -s
OBJS = iprange
all: $(OBJS)
%: %.c
$(CC) $(LDFLAGS) $(OPTIMIZE) -o $@ $^
clean:
rm -f $(OBJS) *.o *.a *~