mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-03 13:44:27 +01:00
Makefile: Add "default" target
This commit adds a target named "default" at the top of the Makefile. Since make will build the first target by default, simply typing "make" will build all images. See http://stackoverflow.com/questions/27242905/makefile-all-vs-default-targets/27243940#27243940 Note: Since "darwin-x64" needs some work, it has been excluded from the default list.
This commit is contained in:
parent
a3b7b03058
commit
c237fc9925
4
Makefile
4
Makefile
@ -1,6 +1,8 @@
|
|||||||
DOCKER = docker
|
DOCKER = docker
|
||||||
ORG = dockcross
|
ORG = dockcross
|
||||||
|
|
||||||
|
default: base android-arm linux-x86 linux-x64 linux-arm64 linux-armv5 linux-armv6 linux-armv7 windows-x86 windows-x64
|
||||||
|
|
||||||
android-arm: base android-arm/Dockerfile
|
android-arm: base android-arm/Dockerfile
|
||||||
$(DOCKER) build -t $(ORG)/android-arm android-arm
|
$(DOCKER) build -t $(ORG)/android-arm android-arm
|
||||||
|
|
||||||
@ -44,4 +46,4 @@ base: Dockerfile
|
|||||||
|
|
||||||
all: base android-arm darwin-x64 linux-x86 linux-x64 linux-arm64 linux-armv5 linux-armv6 linux-armv7 windows-x86 windows-x64
|
all: base android-arm darwin-x64 linux-x86 linux-x64 linux-arm64 linux-armv5 linux-armv6 linux-armv7 windows-x86 windows-x64
|
||||||
|
|
||||||
.PHONY: all base android-arm darwin-x64 linux-x86 linux-x64 linux-arm64 linux-armv5 linux-armv6 linux-armv7 windows-x86 windows-x64
|
.PHONY: default all base android-arm darwin-x64 linux-x86 linux-x64 linux-arm64 linux-armv5 linux-armv6 linux-armv7 windows-x86 windows-x64
|
||||||
|
Loading…
Reference in New Issue
Block a user