aboutgitcodebugslistschat
path: root/Makefile
blob: 213020b4aa23c78f65eba560a31a682b8cfa6070 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                 
               
 

                                                                                                                                                                  
 
                    
                                                                   
 

             
                             
CFLAGS += -Wall -Wextra -pedantic

all: passt qrap

passt: passt.c passt.h arp.c arp.h dhcp.c dhcp.h dhcpv6.c dhcpv6.h ndp.c ndp.h siphash.c siphash.h tap.c tap.h icmp.c icmp.h tcp.c tcp.h udp.c udp.h util.c util.h
	$(CC) $(CFLAGS) passt.c arp.c dhcp.c dhcpv6.c ndp.c siphash.c tap.c icmp.c tcp.c udp.c util.c -o passt

qrap: qrap.c passt.h
	$(CC) $(CFLAGS) -DARCH=\"$(shell uname -m)\" qrap.c -o qrap

.PHONY: clean
clean:
	-${RM} passt *.o qrap