1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
C_SOURCES = $(wildcard ext/commonmarker/*.[ch])
update-c-sources: build-upstream $(C_SOURCES)
.PHONY: build-upstream
build-upstream:
cd ext/commonmarker/cmark-upstream && make
ext/commonmarker/%: ext/commonmarker/cmark-upstream/src/%
cp $< $@
ext/commonmarker/%: ext/commonmarker/cmark-upstream/extensions/%
cp $< $@
ext/commonmarker/config.h: ext/commonmarker/cmark-upstream/build/src/config.h
cp $< $@
ext/commonmarker/cmark-gfm_export.h: ext/commonmarker/cmark-upstream/build/src/cmark-gfm_export.h
cp $< $@
ext/commonmarker/cmark-gfm_version.h: ext/commonmarker/cmark-upstream/build/src/cmark-gfm_version.h
cp $< $@
|