# Autor: Mirakulo Software
export SHELL = bash

ALL_TARGETS=# add each module to this variable in its own module.mk file.
ALL_CLEAN=# add each module to this variable in its own module.mk file.
ALL_PHONY=

include configs/environment.mk
include */module*.mk

ifeq ($(findstring nostrip, $(MAKECMDGOALS)), )
	export STRIP_FLAG="YES"
else
	export STRIP_FLAG="NO"
endif

export strip=${STRIP}

all: build

build: $(ALL_TARGETS)

clean: $(ALL_CLEAN)

nostrip: build

# Set our own.
.DEFAULT_GOAL := all

.PHONY: all build clean nostrip $(ALL_PHONY)
.SILENT:
.EXPORT_ALL_VARIABLES:
