syndicate-2017/js/examples/two-buyer-protocol/Makefile

13 lines
235 B
Makefile

TARGETS=index.expanded.js index.md
all: $(TARGETS)
%.expanded.js: %.js
../../bin/syndicatec $< > $@ || (rm -f $@; false)
%.md: %.js
sed -E -e 's:^: :g' -e 's:^ /// ?::g' -e 's:^ $$::g' < $< > $@
clean:
rm -f $(TARGETS)