10 lines
100 B
Makefile
10 lines
100 B
Makefile
all: $(subst c,exe,$(shell ls *.c))
|
|
|
|
%.exe: %.c
|
|
gcc $< -o $@
|
|
|
|
.PHONY: all clean
|
|
|
|
clean:
|
|
rm *.exe
|