1
0
mirror of https://github.com/jedisct1/dnsblast.git synced 2024-10-05 18:30:54 +01:00
dnsblast/Makefile

22 lines
547 B
Makefile
Raw Normal View History

2012-05-06 00:41:52 +01:00
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