# Makefile pour les fonctions des injections réseau
#
# Intrusion Detection System - Fil Rouge 2008
#
# Here We Go

JUNK	= *~ *.bak DEADJOE
INCLUDE = ../include
DEPS = injection.o mac_manip.o arp_poisoning.o
EDL = gcc
COMP = gcc
EXE = ArpPoison
LIBS = -lnet

$(EXE) : $(DEPS)
	$(EDL) -o $(EXE) $(DEPS) $(LIBS)

%.o : %.c $(INCLUDE)/%.h
	$(COMP) -I$(INCLUDE) -c $*.c

clean:
	$(RM) $(JUNK) *.o $(EXE)
	
