Add 'lcthw-remnants/' from commit 'e172f73c8297b22a579c94558f0c171ca74a0e5c'
git-subtree-dir: lcthw-remnants git-subtree-mainline:4107485591
git-subtree-split:e172f73c82
This commit is contained in:
22
lcthw-remnants/Makefile
Normal file
22
lcthw-remnants/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
Reference in New Issue
Block a user