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