diff --git a/Makefile b/Makefile index 96179af19..1e5506091 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,8 @@ export DEVELOP export CONTAINER_FILE export CONTAINER_FILE_CONTENT +export PROD ?= false + # HELP HEADER START # To see the definition of all available targets, take a look into the Makefile. # Targets starting with '--' are not meant to be directly called. @@ -169,20 +171,7 @@ well-known: static; ##### BACKEND TARGETS ##### .PHONY: %-backend -%-backend: FRADRIVE_SERVICE=backend -%-backend: --image-build --containerized---%-dev-backend; - -.PHONY: %-prod-backend -%-prod-backend: FRADRIVE_SERVICE=backend -%-prod-backend: --image-build --containerized---%-prod-backend; - ---%-dev-backend: FRADRIVE_SERVICE=backend ---%-dev-backend: stackopts=--flag uniworx:dev ---%-dev-backend: --image-build --containerized---%-backend; - ---%-prod-backend: FRADRIVE_SERVICE=backend ---%-prod-backend: stackopts=--flag uniworx:-dev ---%-prod-backend: --image-build --containerized-%-backend; +%-backend: --image-build --containerized-%-backend; # TODO: to be deprecated by start-% .PHONY: serve-backend