Skip to content
Snippets Groups Projects
Commit 034d3e6f authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Reduce differences in Makefiles to Google's V2.

parent 35a576ca
No related branches found
No related tags found
No related merge requests found
packetdrill-ext-libs := -lpthread -lrt -lsctp
packetdrill-ext-libs := -lpthread -lrt -ldl -lsctp -static
include Makefile.common
all: binaries
CFLAGS += -g -Wall -Werror -Wno-unknown-warning-option -Wno-address-of-packed-member
LDFLAGS ?= -static
parser.o: parser.y
bison --output=parser.c --defines=parser.h --report=state parser.y
......@@ -37,7 +36,7 @@ packetdrill-lib := \
packetdrill-objs := packetdrill.o $(packetdrill-lib)
packetdrill: $(packetdrill-objs)
$(CC) -o packetdrill -g $(LDFLAGS) $(packetdrill-objs) $(packetdrill-ext-libs)
$(CC) -o packetdrill -g $(packetdrill-objs) $(packetdrill-ext-libs)
test-bins := checksum_test packet_parser_test packet_to_string_test
tests: $(test-bins)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment