10 lines
117 B
Makefile
10 lines
117 B
Makefile
all: $(patsubst %.c,%,$(shell ls *.c))
|
|
|
|
%: %.c
|
|
clang -Wall -Wextra $< -o $@ -g
|
|
|
|
.PHONY: all clean
|
|
|
|
clean:
|
|
rm *.exe
|