Created
April 15, 2020 22:30
-
-
Save coryodaniel/b714892af886dbc09824467749fefaf5 to your computer and use it in GitHub Desktop.
Make all targets w/ extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIAGRAMS:=$(shell ls *.py) | |
all: clean $(DIAGRAMS) | |
.PHONY: | |
clean: | |
rm -f *.{png,jpg} | |
.PHONY: $(DIAGRAMS) | |
$(DIAGRAMS): | |
python $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment