From 4f3655bf1d4d54bad8ee8245c1064bd2df336fc6 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Thu, 14 Nov 2024 13:39:17 +0100 Subject: [PATCH] feat: add wc --- Makefile | 5 ++++- src/wc/main.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/wc/main.c diff --git a/Makefile b/Makefile index 13e542e..9ab1e69 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,13 @@ CC := cc -g -Wall -Wextra -Werror -ansi .PHONY: all -all: out out/sh +all: out out/sh out/wc out: mkdir -p -- $@ out/sh: $(wildcard src/sh/*.c) $(CC) -o $@ $^ + +out/wc: $(wildcard src/wc/*.c) + $(CC) -o $@ $^ diff --git a/src/wc/main.c b/src/wc/main.c new file mode 100644 index 0000000..76e8197 --- /dev/null +++ b/src/wc/main.c @@ -0,0 +1 @@ +int main() { return 0; }