mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Optimized the build system for something shorter.
This commit is contained in:
parent
40bce46996
commit
779a0909d8
1 changed files with 4 additions and 11 deletions
|
|
@ -92,18 +92,11 @@ SWITCHES := $(addprefix $(LINPHONE_BUILD_DIR)/,$(SWITCHES))
|
|||
|
||||
mode_switch_check: $(SWITCHES)
|
||||
|
||||
|
||||
$(LINPHONE_BUILD_DIR)/disable_%:
|
||||
$(LINPHONE_BUILD_DIR)/enable_% $(LINPHONE_BUILD_DIR)/disable_%:
|
||||
mkdir -p $(LINPHONE_BUILD_DIR)
|
||||
touch $(LINPHONE_BUILD_DIR)/disable_$*
|
||||
rm -f $(LINPHONE_BUILD_DIR)/enable_$*
|
||||
cd $(LINPHONE_BUILD_DIR) && rm -f Makefile && rm -f oRTP/Makefile && rm -f mediastreamer2/Makefile
|
||||
|
||||
$(LINPHONE_BUILD_DIR)/enable_%:
|
||||
mkdir -p $(LINPHONE_BUILD_DIR)
|
||||
touch $(LINPHONE_BUILD_DIR)/enable_$*
|
||||
rm -f $(LINPHONE_BUILD_DIR)/disable_$*
|
||||
cd $(LINPHONE_BUILD_DIR) && rm -f Makefile && rm -f oRTP/Makefile && rm -f mediastreamer2/Makefile
|
||||
cd $(LINPHONE_BUILD_DIR) && rm -f *able_$*
|
||||
touch $@
|
||||
cd $(LINPHONE_BUILD_DIR) && rm -f Makefile && rm -f oRTP/Makefile && rm -f mediastreamer2/Makefile
|
||||
|
||||
# end of switches parsing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue