f2380eef05
git-subtree-dir: lcthw-remnants git-subtree-mainline:4107485591
git-subtree-split:e172f73c82
23 lines
360 B
Makefile
23 lines
360 B
Makefile
CFLAGS += -Wall -Wextra -pedantic -std=gnu99 -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
|