diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2016-07-06 20:35:16 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2016-07-06 20:35:16 -0400 |
commit | e6cec2f2553a4187a09d92f3a79c0cc0b5049b79 (patch) | |
tree | 24b2e9b9c53d2628d48857695cdd2b29d55c9e31 /Makefile | |
parent | c68c67ce7d88dcfc9db29e572d60e1c43ddb2519 (diff) | |
download | udpastcp-e6cec2f2553a4187a09d92f3a79c0cc0b5049b79.tar.xz udpastcp-e6cec2f2553a4187a09d92f3a79c0cc0b5049b79.zip |
Add IPv4 support.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |