feat: add wc

This commit is contained in:
Ahurac 2024-11-14 13:39:17 +01:00
parent ba1fde2c65
commit 4f3655bf1d
2 changed files with 5 additions and 1 deletions

View file

@ -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 $@ $^

1
src/wc/main.c Normal file
View file

@ -0,0 +1 @@
int main() { return 0; }