4 Star 6 Fork 1

NeoHermit / dao

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile.daomake 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
PLATS = linux macosx freebsd openbsd mingw minix haiku ios
# Set build mode: release, debug or profile;
MODE ?= release
# Set installation location:
INSTALL ?= /usr/local
# Set Dao root directory.
# Not needed for in source building;
# Required for out of source building.
SRCDIR ?= .
# Use STATIC=ON to turn on building statically linked Dao:
STATIC ?= OFF
# Use RESET=--reset to turn on resetting of file generation,
# so that Makefiles will be overrided by force, and CacheFind*.dao
# will be regenerated.
RESET ?=
# More options can be passed to DaoMake using: OPTIONS=...
#
# For example, one can use: OPTIONS="--option-THREAD OFF"
# to turn off support for multithreading.
#
# Another example is to use: OPTIONS="--option-BUNDLE-SCRIPT example"
# to enable single executable deployment.
# And add "--option-BUNDLE-RESOURCES file1,file2" to the "OPTIONS" to specify
# the files to be bundled into the executable.
#
OPTIONS ?=
DAOMAKE_ARGS = --mode $(MODE)
DAOMAKE_ARGS += --option-INSTALL-PATH $(INSTALL)
DAOMAKE_ARGS += --option-STATIC $(STATIC)
DAOMAKE_ARGS += $(RESET) $(OPTIONS)
all:
@echo "Please choose a platform among ($(PLATS))!"
$(PLATS) :
cd $(SRCDIR)/tools/daomake/bootstrap && $(MAKE) $@ PLAT=$@
$(SRCDIR)/tools/daomake/bootstrap/daomake --platform $@ $(DAOMAKE_ARGS) $(SRCDIR)
$(MAKE)
C
1
https://gitee.com/neohermit/dao.git
git@gitee.com:neohermit/dao.git
neohermit
dao
dao
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891