2014-10-17 13:42:56 +02:00
|
|
|
DOCKER = docker
|
2015-05-04 23:32:58 +02:00
|
|
|
IMAGE = thewtex/cross-compiler
|
2014-10-17 13:42:56 +02:00
|
|
|
|
2015-05-16 19:36:10 +02:00
|
|
|
android-arm: base android-arm/Dockerfile
|
|
|
|
$(DOCKER) build -t $(IMAGE)-android-arm android-arm
|
2015-02-01 04:18:38 +01:00
|
|
|
|
|
|
|
darwin-x64:
|
2015-05-04 20:50:16 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-darwin-x64 darwin-x64
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2015-05-19 23:52:43 +02:00
|
|
|
browser-asmjs: base browser-asmjs/Dockerfile
|
2016-07-06 21:33:35 +02:00
|
|
|
cp -r test browser-asmjs/
|
2015-05-19 23:52:43 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-browser-asmjs browser-asmjs
|
2016-07-06 21:33:35 +02:00
|
|
|
rm -rf browser-asmjs/test
|
2015-05-19 23:34:05 +02:00
|
|
|
|
2015-02-01 04:18:38 +01:00
|
|
|
linux-x86:
|
2016-04-06 22:48:12 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-linux-x86 linux-x86
|
2015-02-01 04:18:38 +01:00
|
|
|
|
|
|
|
linux-x64:
|
2015-05-04 20:50:16 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-linux-x64 linux-x64
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2016-05-27 00:54:02 +02:00
|
|
|
linux-armv5: base linux-armv5/Dockerfile linux-armv5/Toolchain.cmake
|
|
|
|
$(DOCKER) build -t $(IMAGE)-linux-armv5 linux-armv5
|
|
|
|
|
2015-05-13 20:09:25 +02:00
|
|
|
linux-armv6: base linux-armv6/Dockerfile linux-armv6/Toolchain.cmake
|
2015-05-04 20:50:16 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-linux-armv6 linux-armv6
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2015-05-09 13:48:53 +02:00
|
|
|
linux-armv7: base linux-armv7/Dockerfile linux-armv7/Toolchain.cmake
|
2015-05-04 20:50:16 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-linux-armv7 linux-armv7
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2015-05-18 21:21:05 +02:00
|
|
|
linux-ppc64le: base linux-ppc64le/Dockerfile linux-ppc64le/Toolchain.cmake
|
|
|
|
$(DOCKER) build -t $(IMAGE)-linux-ppc64le linux-ppc64le
|
|
|
|
|
2015-05-04 23:32:58 +02:00
|
|
|
windows-x86: base windows-x86/Dockerfile windows-x86/settings.mk
|
2015-05-04 20:50:16 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-windows-x86 windows-x86
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2015-05-06 06:08:21 +02:00
|
|
|
windows-x64: base windows-x64/Dockerfile windows-x64/settings.mk
|
2015-05-04 20:50:16 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-windows-x64 windows-x64
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2015-05-04 23:32:58 +02:00
|
|
|
base: Dockerfile
|
2015-05-04 20:50:16 +02:00
|
|
|
$(DOCKER) build -t $(IMAGE)-base .
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2016-05-27 00:54:02 +02:00
|
|
|
all: base android-arm darwin-x64 linux-x86 linux-x64 linux-armv5 linux-armv6 linux-armv7 windows-x86 windows-x64
|
2015-02-01 04:18:38 +01:00
|
|
|
|
2016-05-27 00:54:02 +02:00
|
|
|
.PHONY: all base android-arm darwin-x64 linux-x86 linux-x64 linux-armv5 linux-armv6 linux-armv7 windows-x86 windows-x64
|