TCU

A reimplementation of the BSD core utilities written in C.
Log | Files | Refs | README | LICENSE

commit 7b33c738b50e5e86ac38b8cf623a493b9e5675ea
parent babf9498d5a13a58a57e5fea838a9f8436b9c74e
Author: Tyler Clark <tyler.clark@foxide.xyz>
Date:   Sun,  9 Feb 2025 21:42:27 -0500

Added Makefile and removed binaries

Diffstat:
AMakefile | 24++++++++++++++++++++++++
Dbin/echo | 0
Dbin/false | 0
Dbin/yes | 0
4 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,24 @@ +CC = clang +all: + for files in echo false head yes ; do \ + $(CC) src/$${files}.c -o bin/$${files} ; \ + done + +clean: + rm bin/* + +cat: + $(CC) src/cat.c -o bin/cat +echo: + $(CC) src/echo.c -o bin/echo +false: + $(CC) src/false.c -o bin/false +head: + $(CC) src/head.c -o bin/head +seq: + $(CC) src/seq.c -o bin/seq +yes: + $(CC) src/yes.c -o bin/yes + +install: + echo "Please don't, just really don't" diff --git a/bin/echo b/bin/echo Binary files differ. diff --git a/bin/false b/bin/false Binary files differ. diff --git a/bin/yes b/bin/yes Binary files differ.