CC := cc -g -Wall -Wextra -Werror -ansi .PHONY: all 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 $@ $^