
CC=gcc

all: killer scanner the-binary decoder

KILLEROBJS = killer.o 
SCANNEROBJS = scanner.o 
THEBINARYOBJS = the-binary.o dnsservers.o
DECODEROBJS = decoder.o 

killer: $(KILLEROBJS)
	$(CC) -o killer $(KILLEROBJS)

scanner:  $(SCANNEROBJS)
	$(CC) -o scanner $(SCANNEROBJS)

the-binary:  $(THEBINARYOBJS)
	$(CC) -o the-binary $(THEBINARYOBJS)

decoder:  $(DECODEROBJS)
	$(CC) -o decoder $(DECODEROBJS) -lpcap

clean:
	-rm *.o
	-rm *~
	-rm core
	-rm killer
	-rm scanner
	-rm the-binary
	-rm decoder

