Created
May 23, 2018 16:58
-
-
Save Preetam/70efefea43724a15898f58876b31f0b3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: prep | |
prep: | |
echo "Prep" | |
.PHONY: build-docker-image | |
build-docker-image: prep | |
echo "Building Docker image" | |
build-app%: build-docker-image | |
echo "Building $@" | |
app%: | |
make build-$@ | |
all: app1 app2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make all -s | |
Prep | |
Building Docker image | |
Building build-app1 | |
Prep | |
Building Docker image | |
Building build-app2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment