summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-04-11 00:30:08 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-04-11 00:30:08 (GMT)
commit87163ff7be3c7a7e86a850e688012f3e52baf038 (patch)
tree66f0e43ba39e71585550f9792dd6515a80dc6f02 /Makefile
parentfb7932fb74530c0cf128ace31ffdcb0e1813d535 (diff)
downloadmxe-87163ff7be3c7a7e86a850e688012f3e52baf038.zip
mxe-87163ff7be3c7a7e86a850e688012f3e52baf038.tar.gz
mxe-87163ff7be3c7a7e86a850e688012f3e52baf038.tar.bz2
add "make shell" command
It provides interactive shell with the environment of MXE build.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3e0ed04..81a6fda 100644
--- a/Makefile
+++ b/Makefile
@@ -460,6 +460,10 @@ $(NONET_LIB): $(TOP_DIR)/tools/nonetwork.c | $(PREFIX)/$(BUILD)/lib/.gitkeep
@echo '[build nonetwork lib]'
@$(BUILD_CC) -shared -fPIC $(NONET_CFLAGS) -o $@ $<
+.PHONY: shell
+shell:
+ $(PRELOAD) $(SHELL)
+
define PKG_TARGET_RULE
.PHONY: $(1)
$(1): $(PREFIX)/$(3)/installed/$(1)