From d006d131836402314b99c4f716426de088835cab Mon Sep 17 00:00:00 2001 From: Mike Matera Date: Fri, 27 Dec 2019 14:01:01 -0800 Subject: [PATCH] Fix some bugs in the makefile. --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index c82fd2e..f61948b 100644 --- a/makefile +++ b/makefile @@ -1,9 +1,10 @@ SOURCE = $(shell ls notebooks/*/*.py) NOTEBOOKS = $(SOURCE:.py=.ipynb) GENERATOR = $(abspath ./tools/gen_questions.py) + all: $(NOTEBOOKS) -%.ipynb %.py: +%.ipynb: %.py $(GENERATOR) cd $(dir $*); python3 $(GENERATOR) $(notdir $*) clean: