2016-04-13 22:28:47 +00:00
|
|
|
SHELL=/bin/bash
|
2016-04-12 03:21:45 +00:00
|
|
|
CFLAGS=-Wall -g
|
|
|
|
|
2016-04-13 14:36:55 +00:00
|
|
|
EXERCISES := $(shell ./list-exercises)
|
2016-04-13 13:41:20 +00:00
|
|
|
|
|
|
|
all: $(EXERCISES)
|
2016-04-12 03:25:45 +00:00
|
|
|
|
2016-04-13 22:28:47 +00:00
|
|
|
ex19: object.o
|
|
|
|
|
2016-04-12 03:21:45 +00:00
|
|
|
clean:
|
2016-04-13 22:28:47 +00:00
|
|
|
shopt -s nullglob ; \
|
|
|
|
$(RM) $(EXERCISES) *.o *.a
|
2016-04-13 13:41:20 +00:00
|
|
|
|
|
|
|
test:
|
2016-04-13 14:36:55 +00:00
|
|
|
@./runtests
|
|
|
|
|
|
|
|
exercises:
|
|
|
|
@echo $(EXERCISES)
|