network

low level network subjects
Log | Files | Refs | Submodules | README | git clone https://git.ne02ptzero.me/git/network

commit c7be10ff4d6ce64fbb779ba66e7eec3c99729ed4
parent 0217a980ff70001d5a6301ebd95c3681d1ce8272
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Mon, 20 Mar 2017 18:08:52 +0100

Add(Submodule): libmpm as a submodule

Diffstat:
A.gitmodules | 3+++
MMakefile | 7+++++--
MREADME.md | 2+-
Alib | 1+
4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/.gitmodules b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib"] + path = lib + url = https://github.com/Morphux/libmpm.git diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ NAME = protocol_tests CC = gcc -CFLAGS = -Wall -Werror -Wextra -Wno-unused-result -I inc/ -I lib/inc/ -g -O3 -std=c99 -LFLAGS = -Llib/ -lmorphux +CFLAGS = -Wall -Werror -Wextra -Wno-unused-result -I inc/ -I lib/inc/ -I lib/lib/libmorphux/inc/ -g -O3 -std=c99 +LFLAGS = -Llib/ -lmpm SRCS = $(wildcard src/*.c) OBJS = $(SRCS:%.c=%.o) @@ -11,6 +11,9 @@ $(NAME): $(OBJS) make -C lib/ $(CC) $(CFLAGS) $(OBJS) -o $(NAME) $(LFLAGS) +init: + make -C lib/ init + clean: rm -f $(OBJS) diff --git a/README.md b/README.md @@ -18,7 +18,7 @@ git clone --recursive https://github.com/Morphux/Protocol.git ### Compile ``` -make +make init all ``` ### Fake server diff --git a/lib b/lib @@ -0,0 +1 @@ +Subproject commit 5c05a55fce5629b63477b3325bdb11ce2d7a7b5e