summaryrefslogtreecommitdiffstats
path: root/admin/iprange/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'admin/iprange/Makefile')
-rw-r--r--admin/iprange/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/admin/iprange/Makefile b/admin/iprange/Makefile
new file mode 100644
index 0000000..13598d8
--- /dev/null
+++ b/admin/iprange/Makefile
@@ -0,0 +1,13 @@
+CC = cc
+OPTIMIZE = -O3
+LDFLAGS = -s
+
+OBJS = iprange ip6range
+
+all: $(OBJS)
+
+%: %.c
+ $(CC) $(LDFLAGS) $(OPTIMIZE) -o $@ $^
+
+clean:
+ rm -f $(OBJS) *.o *.a *~