KnRBookExercises/Makefile

16 lines
165 B
Makefile

all: subdirs
SUBDIRS = Chapter1
.PHONY: subdirs $(SUBDIRS)
subdirs: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
.PHONY: clean
clean: $(SUBDIRS)
$(MAKE) -C $< clean