mirror of
https://github.com/lexborisov/Modest
synced 2024-11-22 05:41:32 +03:00
This commit is contained in:
parent
b44c5d340a
commit
0ccabbd8b6
6
Makefile
6
Makefile
@ -77,11 +77,13 @@ clean: $(MODEST_BUILD_MODULES_TARGET_CLEAN)
|
|||||||
rm -f $(call MODEST_LIBRARY_WITH_VERSION) && rm -f $(call MODEST_LIBRARY_STATIC)
|
rm -f $(call MODEST_LIBRARY_WITH_VERSION) && rm -f $(call MODEST_LIBRARY_STATIC)
|
||||||
$(call MODEST_BUILD_CLEAN_AFTER)
|
$(call MODEST_BUILD_CLEAN_AFTER)
|
||||||
|
|
||||||
clone: $(MODEST_BUILD_MODULES_TARGET_CLONE)
|
clone: clean_api $(MODEST_BUILD_MODULES_TARGET_CLONE)
|
||||||
rm -rf $(INCLUDE_TMP)
|
|
||||||
find $(INCLUDE_DIR_API) -name "*.h" -exec sed -i '.bak' -E 's/^[ \t]*#[ \t]*include[ \t]*"([^"]+)"/#include <\1>/g' {} \;
|
find $(INCLUDE_DIR_API) -name "*.h" -exec sed -i '.bak' -E 's/^[ \t]*#[ \t]*include[ \t]*"([^"]+)"/#include <\1>/g' {} \;
|
||||||
find $(INCLUDE_DIR_API) -name "*.h.bak" -exec rm -f {} \;
|
find $(INCLUDE_DIR_API) -name "*.h.bak" -exec rm -f {} \;
|
||||||
|
|
||||||
|
clean_api:
|
||||||
|
rm -rf $(INCLUDE_DIR_API)
|
||||||
|
|
||||||
create:
|
create:
|
||||||
mkdir -p $(BINARY_DIR_BASE) $(LIB_DIR_BASE)
|
mkdir -p $(BINARY_DIR_BASE) $(LIB_DIR_BASE)
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ override LDLIBS += $(BINARY_LIBRARIES)
|
|||||||
#***************
|
#***************
|
||||||
BINARY_BUILD_EXECUTE ?= $(foreach dir,$(BINARY_BUILD_MODULES_TARGET),$($(dir)_objs))
|
BINARY_BUILD_EXECUTE ?= $(foreach dir,$(BINARY_BUILD_MODULES_TARGET),$($(dir)_objs))
|
||||||
BINARY_BUILD_EXECUTE_CLEAN := $(foreach path,$(BINARY_BUILD_EXECUTE),$(subst ./,,$(path)))
|
BINARY_BUILD_EXECUTE_CLEAN := $(foreach path,$(BINARY_BUILD_EXECUTE),$(subst ./,,$(path)))
|
||||||
BINARY_BUILD_EXECUTE_TO_CLEAN := $(foreach path,$(BINARY_BUILD_EXECUTE_CLEAN),rm -f $(BINARY_TO_DIR)/$(path) $(BYNARY_UTILS_NEW_LINE))
|
BINARY_BUILD_EXECUTE_TO_CLEAN := $(foreach path,$(BINARY_BUILD_EXECUTE_CLEAN),rm -rf $(BINARY_TO_DIR)/$(path) $(BYNARY_UTILS_NEW_LINE))
|
||||||
BINARY_BUILD_DIRS_TO_CLEAN := $(foreach path,$(BINARY_BUILD_MODULES_LIST),rm -rf $(BINARY_TO_DIR)/$(path) $(BYNARY_UTILS_NEW_LINE))
|
BINARY_BUILD_DIRS_TO_CLEAN := $(foreach path,$(BINARY_BUILD_MODULES_LIST),rm -rf $(BINARY_TO_DIR)/$(path) $(BYNARY_UTILS_NEW_LINE))
|
||||||
BINARY_BUILD_EXECUTE_COPY := $(foreach path,$(BINARY_BUILD_EXECUTE_CLEAN),cp $(path) $(BINARY_TO_DIR)/$(dir $(path)) $(BYNARY_UTILS_NEW_LINE))
|
BINARY_BUILD_EXECUTE_COPY := $(foreach path,$(BINARY_BUILD_EXECUTE_CLEAN),cp $(path) $(BINARY_TO_DIR)/$(dir $(path)) $(BYNARY_UTILS_NEW_LINE))
|
||||||
BINARY_BUILD_EXECUTE_COPY_ALL := $(BINARY_UTILS_CREATE_DIRS) $(BINARY_BUILD_EXECUTE_COPY)
|
BINARY_BUILD_EXECUTE_COPY_ALL := $(BINARY_UTILS_CREATE_DIRS) $(BINARY_BUILD_EXECUTE_COPY)
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#define MyCORE_VERSION_MAJOR 1
|
#define MyCORE_VERSION_MAJOR 0
|
||||||
#define MyCORE_VERSION_MINOR 0
|
#define MyCORE_VERSION_MINOR 1
|
||||||
#define MyCORE_VERSION_PATCH 0
|
#define MyCORE_VERSION_PATCH 0
|
||||||
|
|
||||||
//#define MyCORE_BUILD_WITHOUT_THREADS
|
//#define MyCORE_BUILD_WITHOUT_THREADS
|
||||||
|
Loading…
Reference in New Issue
Block a user