21 lines
246 B
Makefile
21 lines
246 B
Makefile
SHELL=/bin/bash
|
|
CFLAGS=-Wall -g -DNDEBUG
|
|
|
|
EXERCISES := $(shell ./list-exercises)
|
|
|
|
all: $(EXERCISES)
|
|
|
|
ex19: object.o
|
|
|
|
ex22_main: ex22.o
|
|
|
|
clean:
|
|
shopt -s nullglob ; \
|
|
$(RM) $(EXERCISES) *.o *.a
|
|
|
|
test:
|
|
@./runtests
|
|
|
|
exercises:
|
|
@echo $(EXERCISES)
|