Created
November 1, 2018 02:04
-
-
Save louisswarren/b7ecfa15e07e3d3fcc9150b3c39db69d to your computer and use it in GitHub Desktop.
Makefile which downloads binary resources
This file contains hidden or 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
DL=wget -O $@ | |
example.pdf: example.tex bin | |
pdflatex example.tex | |
.PHONY: bin | |
bin: image1.png image2.png | |
image1.png: | |
$(DL) https://....png | |
image2.png: | |
$(DL) https://....png | |
.PHONY: clean | |
clean: | |
rm *.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment