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; }