summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 968c1e5..264cfd5 100755
--- a/Makefile
+++ b/Makefile
@@ -537,6 +537,7 @@ wingcc-all:
make ARCH=x86-mingw64 wingcc-gendef
make ARCH=x86-mingw64 wingcc-genpeimg
make ARCH=x86-mingw64 wingcc-reimp
+ make ARCH=x86-mingw64 wingcc-gmake
make ARCH=x86-mingw64 wingcc-gdb
make ARCH=x86-mingw64 wingcc-pack
@@ -652,6 +653,21 @@ wingcc-reimp:
cp -f $(BUILD_DIR)/reimp/src/reimp.exe $(WINGCC_INST_DIR)/bin/reimp.exe
cp -f $(BUILD_DIR)/reimp/src/reimp.exe $(WINGCC_INST_DIR)/bin/$(XGCC_TARGET64)-reimp.exe
+wingcc-gmake:
+ rm -Rf $(BUILD_DIR)/make-4.2
+ cd $(BUILD_DIR)/ && \
+ tar -jxf $(SOURCE_DIR)/make-4.2.tar.bz2
+ cd $(BUILD_DIR)/make-4.2 && \
+ export PATH=$(XGCC_BINPATH):$(PATH) && \
+ CC=$(XGCC64) CXX=$(XGPP64) \
+ ./configure \
+ CFLAGS="-I../glob" \
+ --host=$(XGCC_TARGET64) \
+ --prefix=$(WINGCC_INST_DIR) \
+ --host=$(XGCC_TARGET64) && \
+ make && make install
+ cp -f $(WINGCC_INST_DIR)/bin/make.exe $(WINGCC_INST_DIR)/bin/$(XGCC_TARGET64)-make.exe
+
wingcc-genpeimg:
rm -Rf $(BUILD_DIR)/genpeimg
cd $(BUILD_DIR)/ && \