Commit b8ba5edd authored by Michael Murtaugh's avatar Michael Murtaugh

text!

parent ce90e244
# find all .md files in the directory
mdsrc=$(shell ls *.md)
# map *.mp => *.html for mdsrc
png_from_md=$(mdsrc:%.md=%.png)
all: $(png_from_md)
# Implicit rule to know how to make .html from .md
%.png: %.md
convert -background lightblue -fill blue -font Corsiva -pointsize 36 \
-size 320x caption:@$< \
$@
# special rule for debugging variables
print-%:
@echo '$*=$($*)'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment