CFLAGS=-Wall -g EXERCISES = $(patsubst %.c,%,$(shell ls ex*.c)) all: $(EXERCISES) clean: rm -f $(EXERCISES) .PHONY: all clean