box-o-sand/Makefile
2011-11-01 22:05:27 -04:00

22 lines
300 B
Makefile

CFLAGS=-Wall -g -DNDEBUG
EXERCISES = $(patsubst %.c,%,$(shell ls ex*.c | egrep -v "ex(19|22)"))
all: $(EXERCISES)
$(MAKE) -f ex19.mk
$(MAKE) -f ex22.mk
test: all
$(MAKE) -f ex19.mk test
clean:
rm -f $(EXERCISES)
$(MAKE) -f ex19.mk clean
$(MAKE) -f ex22.mk clean
.PHONY: all test clean