blob: 117b240474a873281e20d6c23c03f2d4d74994a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#
# Usege : make -f <proj_root>/Build/makefile -C <proj_root>
#
BUILD_SCRIPT_VERSION := 1.1.0
.PHONY : app_version app_build app_clean build_version
all : app_build
clean : app_clean
version : build_version
#PROJ_ROOT = .
#BUILD_ROOT := $(PROJ_PATH)/Build#
ifeq ($(MAKE_NAME),mingw32-make)
ifneq ($(SHELL),)
OPTIONS += --eval="SHELL=$(SHELL)"
endif
endif
app_build :
@echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk"
@$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS)
app_clean :
@$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean
build_version :
@echo makefile : $(BUILD_SCRIPT_VERSION)
@$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version
|