2011-10-28 01:14:28 +00:00
|
|
|
CFLAGS=-Wall -g -DNDEBUG
|
2011-09-04 04:00:55 +00:00
|
|
|
|
2011-11-02 01:56:34 +00:00
|
|
|
EXERCISES = $(patsubst %.c,%,$(shell ls ex*.c | egrep -v "ex(19|22)"))
|
2011-09-04 04:03:26 +00:00
|
|
|
|
2011-09-05 02:18:49 +00:00
|
|
|
|
2011-11-02 02:05:27 +00:00
|
|
|
all: $(EXERCISES)
|
2011-10-26 00:42:56 +00:00
|
|
|
$(MAKE) -f ex19.mk
|
2011-11-02 02:05:27 +00:00
|
|
|
$(MAKE) -f ex22.mk
|
2011-11-02 01:56:34 +00:00
|
|
|
|
|
|
|
|
2011-10-26 08:21:16 +00:00
|
|
|
test: all
|
|
|
|
$(MAKE) -f ex19.mk test
|
2011-11-11 13:22:26 +00:00
|
|
|
./test_ex24_iofunctions.sh
|
2011-10-26 08:21:16 +00:00
|
|
|
|
|
|
|
|
2011-09-04 04:00:55 +00:00
|
|
|
clean:
|
2011-09-05 02:18:49 +00:00
|
|
|
rm -f $(EXERCISES)
|
2011-10-26 01:21:02 +00:00
|
|
|
$(MAKE) -f ex19.mk clean
|
2011-11-02 02:05:27 +00:00
|
|
|
$(MAKE) -f ex22.mk clean
|
2011-09-04 04:03:26 +00:00
|
|
|
|
|
|
|
|
2011-10-26 08:21:16 +00:00
|
|
|
.PHONY: all test clean
|