From b216df04a1d6c57d5c92b61af29081af18f83311 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sun, 26 Sep 2021 04:05:34 +0200 Subject: Makefile: Visually separate CFLAGS from input files in resulting cc commands Signed-off-by: Stefano Brivio --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7ad1f7e..c7cbbb7 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ passt: passt.c passt.h arp.c arp.h checksum.c checksum.h conf.c conf.h \ dhcp.c dhcp.h dhcpv6.c dhcpv6.h pcap.c pcap.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 checksum.c conf.c dhcp.c dhcpv6.c \ + $(CC) $(CFLAGS) \ + passt.c arp.c checksum.c conf.c dhcp.c dhcpv6.c \ pcap.c ndp.c siphash.c tap.c icmp.c tcp.c udp.c util.c -o passt pasta: passt @@ -26,7 +27,8 @@ passt4netns: passt ln -s passt passt4netns qrap: qrap.c passt.h - $(CC) $(CFLAGS) -DARCH=\"$(shell uname -m)\" qrap.c -o qrap + $(CC) $(CFLAGS) -DARCH=\"$(shell uname -m)\" \ + qrap.c -o qrap .PHONY: clean clean: -- cgit v1.2.3