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