Makefile: Visually separate CFLAGS from input files in resulting cc commands
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
ec0bdc10b1
commit
b216df04a1
1 changed files with 4 additions and 2 deletions
6
Makefile
6
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:
|
||||
|
|
Loading…
Reference in a new issue