mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
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.
13 lines
159 B
Makefile
13 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 *~
|