mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
14 lines
388 B
Makefile
14 lines
388 B
Makefile
BUILDDIR?=./build
|
|
PROJS?=grs info blog apps os doc ci
|
|
copyfiles = index.ls mimes.json
|
|
main: copy
|
|
for f in $(PROJS); do BUILDDIR=$(BUILDDIR)/"$${f}" make -C "$${f}" ; done
|
|
|
|
copy:
|
|
cp -rf $(copyfiles) $(BUILDDIR)
|
|
cp -r silk $(BUILDDIR)
|
|
|
|
clean:
|
|
-for f in $(PROJS); do rm -r $(BUILDDIR)/"$${f}"; done
|
|
-for f in $(copyfiles); do rm -r $(BUILDDIR)/"$${f}"; done
|
|
-rm -r $(BUILDDIR)/silk
|