aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-09-26 04:05:34 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-09-27 01:28:02 +0200
commitb216df04a1d6c57d5c92b61af29081af18f83311 (patch)
treeee97666f8eb67e9accf8e13476eb9c0f18486e47 /Makefile
parentec0bdc10b1efbd46fbb7f7a3281d4e942bed0685 (diff)
downloadpasst-b216df04a1d6c57d5c92b61af29081af18f83311.tar
passt-b216df04a1d6c57d5c92b61af29081af18f83311.tar.gz
passt-b216df04a1d6c57d5c92b61af29081af18f83311.tar.bz2
passt-b216df04a1d6c57d5c92b61af29081af18f83311.tar.lz
passt-b216df04a1d6c57d5c92b61af29081af18f83311.tar.xz
passt-b216df04a1d6c57d5c92b61af29081af18f83311.tar.zst
passt-b216df04a1d6c57d5c92b61af29081af18f83311.zip
Makefile: Visually separate CFLAGS from input files in resulting cc commands
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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: