# This file has settings for the Make of this project.
# Targets must exist in the bin/make-file/targets/ directory.

.SILENT:
CURRENT_DIR := $(shell pwd)

#gpupo/common-sdk
ifneq ($(wildcard vendor/gpupo/common-sdk/bin/make-file/targets/*),)
    include vendor/gpupo/common-sdk/bin/make-file/variables.mk
    include vendor/gpupo/common-sdk/bin/make-file/define.mk
    include vendor/gpupo/common-sdk/bin/make-file/help.mk
    include vendor/gpupo/common-sdk/bin/make-file/functions/*
    include vendor/gpupo/common-sdk/bin/make-file/targets/*
    #gpupo/common-dev
    ifneq ($(wildcard vendor/gpupo/common-dev/bin/make-file/targets/*),)
        include vendor/gpupo/common-dev/bin/make-file/targets/*
    endif

    STANDARTDC=$(DC) -f docker-compose.yaml
    TOOLSDC=$(STANDARTDC) -f Resources/docker-compose-tools.yaml
    include bin/make-file/targets/*.mk
endif

## Install PHP libs
install:
	composer install --prefer-dist
