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