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
|
|
|
|
2020-07-21 10:48:24 +02:00
|
|
|
passt: passt.c passt.h arp.c arp.h dhcp.c dhcp.h ndp.c ndp.h util.c util.h
|
|
|
|
$(CC) $(CFLAGS) passt.c arp.c dhcp.c ndp.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
|