ttcpd

Trivial tcp daemon
git clone git://git.finwo.net/app/ttcpd
Log | Files | Refs | LICENSE

commit 5daad978f8680ee2da765ecaddadc5b7affb09cd
parent bb728c97c6475bc60f235438cfa445e509e53957
Author: finwo <finwo@pm.me>
Date:   Fri, 11 Jan 2019 14:13:42 +0100

Added makefile

Diffstat:
M.gitignore | 1-
AMakefile | 4++++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -2,5 +2,4 @@ *.d *.swp /lib -/Makefile /tcpd diff --git a/Makefile b/Makefile @@ -0,0 +1,4 @@ +CC:=$(shell which gcc tcc | head -1) + +tcpd: + $(CC) -O3 -s src/main.c -o tcpd