From e6cec2f2553a4187a09d92f3a79c0cc0b5049b79 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 6 Jul 2016 20:35:16 -0400 Subject: Add IPv4 support. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bdc9167..796dec7 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ CFLAGS += -Wall -Wextra -Wwrite-strings -std=c99 -D_BSD_SOURCE -D_DEFAULT_SOURCE LDLIBS := -lev -NET_OBJS := src/client.o src/server.o -OBJS := src/udpastcp.o src/checksum.o $(NET_OBJS) +NET_OBJS := src/checksum.o src/client.o src/server.o +OBJS := src/udpastcp.o $(NET_OBJS) udpastcp: $(OBJS) $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ -# networking code needs aliasing to be efficient +# networking code needs aliasing to work at all $(NET_OBJS): CFLAGS+=-fno-strict-aliasing -Wno-sign-compare clean: -- cgit v1.2.3-70-g09d2