Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Preetam
Created May 23, 2018 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Preetam/70efefea43724a15898f58876b31f0b3 to your computer and use it in GitHub Desktop.
Save Preetam/70efefea43724a15898f58876b31f0b3 to your computer and use it in GitHub Desktop.
.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
# 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