mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-07-03 16:15:49 +02:00
restructure makefile for individual builds, restructure linux-arm dockerfiles
This commit is contained in:
42
Makefile
42
Makefile
@ -1,15 +1,33 @@
|
||||
PLATFORMS = android-arm \
|
||||
darwin-x64 \
|
||||
linux-x86 \
|
||||
linux-x64 \
|
||||
linux-arm \
|
||||
windows-x86 \
|
||||
windows-x64
|
||||
DOCKER = docker
|
||||
IMAGE = steeve/cross-compiler
|
||||
IMAGE = rburns/cross-compiler
|
||||
|
||||
all:
|
||||
android-arm:
|
||||
$(DOCKER) build -t $(IMAGE):android-arm linux-arm
|
||||
|
||||
darwin-x64:
|
||||
$(DOCKER) build -t $(IMAGE):darwin-x64 darwin-x64
|
||||
|
||||
linux-x86:
|
||||
$(DOCKER) build -t $(IMAGE):darwin-x86 darwin-x86
|
||||
|
||||
linux-x64:
|
||||
$(DOCKER) build -t $(IMAGE):linux-x64 linux-x64
|
||||
|
||||
linux-armv6:
|
||||
$(DOCKER) build -t $(IMAGE):linux-arm linux-armv6
|
||||
|
||||
linux-armv7:
|
||||
$(DOCKER) build -t $(IMAGE):linux-armv7 linux-armv7
|
||||
|
||||
windows-x86:
|
||||
$(DOCKER) build -t $(IMAGE):windows-x86 windows-x86
|
||||
|
||||
windows-x64:
|
||||
$(DOCKER) build -t $(IMAGE):windows-x64 windows-x64
|
||||
|
||||
base:
|
||||
$(DOCKER) build -t $(IMAGE):base .
|
||||
for i in $(PLATFORMS); do \
|
||||
$(DOCKER) build -t $(IMAGE):$$i $$i ; \
|
||||
done
|
||||
|
||||
all: base android-arm darwin-x64 linux-x86 linux-x64 linux-arm linux-armv7 windows-x86 windows-x64
|
||||
|
||||
.PHONY: all linux-armv6 linux-armv7
|
||||
|
Reference in New Issue
Block a user