From 87163ff7be3c7a7e86a850e688012f3e52baf038 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Mon, 11 Apr 2016 03:30:08 +0300 Subject: add "make shell" command It provides interactive shell with the environment of MXE build. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v0.12