Makefile 259 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 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