Lines Matching full:build_mode
5 # Run make with BUILD_MODE=Release for release.
6 BUILD_MODE ?= Debug
61 ifeq (Debug, $(BUILD_MODE))
71 OBJFILES = $(shell find out/$(BUILD_MODE)/ -type f -name '*.o')
75 $(DEFS_$(BUILD_MODE)) \
81 out/$(BUILD_MODE)/libweave.so : out/$(BUILD_MODE)/libweave_common.a
89 weave_obj_files := $(WEAVE_SRC_FILES:%.cc=out/$(BUILD_MODE)/%.o)
91 $(weave_obj_files) : out/$(BUILD_MODE)/%.o : %.cc
93 $(CXX) $(DEFS_$(BUILD_MODE)) $(INCLUDES) $(CFLAGS) $(CFLAGS_$(BUILD_MODE)) $(CFLAGS_CC) -c -o $@ $<
95 out/$(BUILD_MODE)/libweave_common.a : $(weave_obj_files) $(third_party_chromium_base_obj_files) $(third_party_chromium_crypto_obj_files) $(third_party_modp_b64_obj_files) $(third_party_libuweave_obj_files)
99 all : out/$(BUILD_MODE)/libweave.so all-examples out/$(BUILD_MODE)/libweave_exports_testrunner out/$(BUILD_MODE)/libweave_testrunner