box-o-sand/Makefile
2012-02-11 21:44:35 -05:00

23 lines
346 B
Makefile

CFLAGS=-Wall -Wextra -pedantic -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
./test_ex24_iofunctions.sh
clean:
rm -f $(EXERCISES)
$(MAKE) -f ex19.mk clean
$(MAKE) -f ex22.mk clean
.PHONY: all test clean