forked from gjtorikian/commonmarker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
26 lines (17 loc) · 772 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 $< $@
ext/commonmarker/cmark-gfm-extensions_export.h: ext/commonmarker/cmark-upstream/build/extensions/cmark-gfm-extensions_export.h
cp $< $@