2018-01-29 22:07:15 +03:00
|
|
|
IN_DOCKER = $(wildcard /addons-server-docker-container)
|
2016-05-17 15:07:33 +03:00
|
|
|
|
2017-06-15 11:41:40 +03:00
|
|
|
ifneq ($(IN_DOCKER),)
|
|
|
|
SUB_MAKEFILE = Makefile-docker
|
|
|
|
else
|
|
|
|
SUB_MAKEFILE = Makefile-os
|
2016-05-19 12:26:46 +03:00
|
|
|
endif
|
|
|
|
|
2017-06-15 11:41:40 +03:00
|
|
|
include $(SUB_MAKEFILE)
|
2017-06-09 20:14:29 +03:00
|
|
|
|
2019-02-07 09:56:39 +03:00
|
|
|
|
2013-11-20 15:00:42 +04:00
|
|
|
help:
|
2016-06-25 02:57:53 +03:00
|
|
|
@echo "Please use 'make <target>' where <target> is one of the following commands."
|
2017-06-15 11:41:40 +03:00
|
|
|
@$(MAKE) help_submake --no-print-directory
|
2016-06-25 02:57:53 +03:00
|
|
|
|
2016-05-17 15:07:33 +03:00
|
|
|
@echo "Check the Makefile to know exactly what each target is doing."
|