mirror of
https://wiki.pbeirne.com/patb/cmt.git
synced 2026-12-03 20:15:20 -05:00
Major release, lots of graphics, the text flows better now
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
SOURCES=CooperativeMultitasking.md
|
||||
IMG_SOURCES=led_state.dot led_state_simple.dot rtb_state.dot fridge_state.dot \
|
||||
rtb_state_2.dot rtb_state_3.dot rtb_state_4.dot rtb_state_5.dot \
|
||||
window_state.dot radio_tuner.dot beer_vat.dot \
|
||||
window_complex.dot door.dot door2.dot vending.dot
|
||||
|
||||
|
||||
OBJECTS=$(SOURCES:.md=.html)
|
||||
IMG_OBJECTS=$(IMG_SOURCES:.dot=.png)
|
||||
|
||||
CC=pandoc -s -t html -B header.md -A footer.md
|
||||
CC=pandoc -s -t html --toc --css pandoc.css --toc-depth=3
|
||||
IM=dot -Tpng
|
||||
|
||||
%.html : %.md
|
||||
$(CC) $< -o $@
|
||||
|
||||
%.png: %.dot
|
||||
$(IM) $< -o $@
|
||||
|
||||
all: $(OBJECTS) $(IMG_OBJECTS)
|
||||
echo "done"
|
||||
|
||||
clean:
|
||||
rm $(OBJECTS)
|
||||
Reference in New Issue
Block a user