2020-07-13 22:55:46 +02:00
|
|
|
CFLAGS += -Wall -Wextra -pedantic
|
|
|
|
|
2020-07-20 16:41:49 +02:00
|
|
|
all: passt qrap
|
2020-07-13 22:55:46 +02:00
|
|
|
|
2021-03-17 10:57:36 +01:00
|
|
|
passt: passt.c passt.h arp.c arp.h dhcp.c dhcp.h ndp.c ndp.h siphash.c siphash.h tap.c tap.h tcp.c tcp.h udp.c udp.h util.c util.h
|
|
|
|
$(CC) $(CFLAGS) passt.c arp.c dhcp.c ndp.c siphash.c tap.c tcp.c udp.c util.c -o passt
|
2020-07-13 22:55:46 +02:00
|
|
|
|
2020-07-20 16:41:49 +02:00
|
|
|
qrap: qrap.c passt.h
|
|
|
|
$(CC) $(CFLAGS) qrap.c -o qrap
|
2020-07-18 01:02:39 +02:00
|
|
|
|
2020-07-13 22:55:46 +02:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2020-07-20 16:41:49 +02:00
|
|
|
-${RM} passt *.o qrap
|