1 2 3 4 5 6 7 8 9
SRCS=$(wildcard *.c) all: $(SRCS:%.c=%) clean: $(RM) $(SRCS:%.c=%) %: %.c $(CC) $(CFLAGS) -o $@ $<