1
0
mirror of https://github.com/jedisct1/dnsblast.git synced 2025-10-31 23:21:44 +00:00

Initial import

This commit is contained in:
Frank Denis
2012-05-05 16:41:52 -07:00
parent 4ef61ea9f9
commit e26b3863b7
8 changed files with 633 additions and 15 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
OPTIMIZATION ?= -O2
STDFLAGS ?= -std=c99
DEBUGFLAGS ?= -Waggregate-return -Wcast-align -Wcast-qual \
-Wchar-subscripts -Wcomment -Wimplicit -Wmissing-declarations \
-Wmissing-prototypes -Wnested-externs -Wparentheses -Wwrite-strings \
-Wformat=2 -Wall -Wextra
CFLAGS ?= $(OPTIMIZATION) $(STDFLAGS) $(DEBUGFLAGS)
all: dnsblast
dnsblast: Makefile dnsblast.o
$(CC) dnsblast.o -o dnsblast $(LDFLAGS)
dnsblast.o: Makefile dnsblast.c dns.h dnsblast.h
$(CC) -c dnsblast.c -o dnsblast.o $(CFLAGS)
clean:
rm -f dnsblast *.a *.d *.o
rm -rf *.dSYM