feat: add wc
This commit is contained in:
parent
ba1fde2c65
commit
4f3655bf1d
2 changed files with 5 additions and 1 deletions
5
Makefile
5
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 $@ $^
|
||||
|
|
1
src/wc/main.c
Normal file
1
src/wc/main.c
Normal file
|
@ -0,0 +1 @@
|
|||
int main() { return 0; }
|
Loading…
Reference in a new issue