1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-17 06:09:50 +02:00

update makefiles

This commit is contained in:
lxsang
2019-12-19 23:01:05 +01:00
parent 4af1130c5c
commit de27382595
7 changed files with 13 additions and 229 deletions

View File

@ -1,13 +1,14 @@
BUILDDIR = ./build
projs = grs info blog apps os
BUILDDIR?=./build
PROJS?=grs info blog apps os
copyfiles = index.ls mimes.json
main: copy
for f in $(projs); do make -C "$${f}" ; done
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 $(PROJS); do rm -r $(BUILDDIR)/"$${f}"; done
-for f in $(copyfiles); do rm -r $(BUILDDIR)/"$${f}"; done
-rm -r $(BUILDDIR)/silk