-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (21 loc) · 967 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all : arp_sender
arp_sender: get_my_ip.o Handler.o get_mac.o print_information.o help.o transelate_IP_to_dec.o main.o error_handling.o
g++ -o arp_sender Handler.o get_mac.o print_information.o help.o transelate_IP_to_dec.o main.o error_handling.o get_my_ip.o -lpcap -g -no-pie
Handler.o: pcap_header.h Handler.cpp
g++ -c -o Handler.o Handler.cpp
get_mac.o: pcap_header.h get_mac.cpp
g++ -c -o get_mac.o get_mac.cpp
print_information.o: pcap_header.h print_information.cpp
g++ -c -o print_information.o print_information.cpp
help.o: pcap_header.h help.cpp
g++ -c -o help.o help.cpp
transelate_IP_to_dec.o: pcap_header.h transelate_IP_to_dec.cpp
g++ -c -o transelate_IP_to_dec.o transelate_IP_to_dec.cpp
main.o: pcap_header.h main.cpp
g++ -c -o main.o main.cpp
error_handling.o: pcap_header.h error_handling.cpp
g++ -c -o error_handling.o error_handling.cpp
get_my_ip.o: pcap_header.h get_my_ip.cpp
g++ -c -o get_my_ip.o get_my_ip.cpp
clean:
rm *.o