aboutsummaryrefslogtreecommitdiffstats
path: root/repos/dnsmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'repos/dnsmap/Makefile')
-rw-r--r--repos/dnsmap/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/repos/dnsmap/Makefile b/repos/dnsmap/Makefile
new file mode 100644
index 0000000..2393d37
--- /dev/null
+++ b/repos/dnsmap/Makefile
@@ -0,0 +1,12 @@
+CC=gcc
+CFLAGS=-I.
+BINDIR=/usr/local/bin
+
+dnsmap: dnsmap.c dnsmap.h
+ $(CC) $(CFLAGS) -o dnsmap dnsmap.c
+
+install: dnsmap
+ mkdir -p $(DESTDIR)$(BINDIR)
+ install -m 0755 dnsmap $(DESTDIR)$(BINDIR)
+ install -m 0755 dnsmap-bulk.sh $(DESTDIR)$(BINDIR)/dnsmap-bulk
+