You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
181 B

DAYS= $(wildcard day*)
.PHONY: all
day%/part2: day%
cd $< && $(MAKE)
all: $(addsuffix /part2,$(DAYS))
clean:
for d in $(DAYS); do pushd $$d && $(MAKE) clean && popd; done