Skip to content
Snippets Groups Projects
Select Git revision
  • 4fb7a842a7193dddf4aed5672107ec48748b51f2
  • master default protected
  • 1.31
  • 4.30.1
  • 4.30.0
  • 4.29.1
  • 4.29.0
  • 4.28.0
  • 4.27.0
  • 4.26.0
  • 4.25.5
  • 4.25.4
  • 4.25.3
  • 4.25.2
  • 4.25.1
  • 4.25.0
  • 4.24.3
  • 4.24.2
  • 4.24.1
  • 4.24.0
  • 4.23.6
  • 4.23.5
  • 4.23.4
23 results

CHANGELOG.md

Blame
  • To find the state of this project's repository at the time of any of these versions, check out the tags.
    Makefile 19.06 KiB
    #############################################################################################
    #############################################################################################
    ##
    ## PROJECT-DEFINITIONS
    ##
    #############################################################################################
    #############################################################################################
    
    COPYRIGHT_TEXT       := © 2021 schukai GmbH, Released under the AGPL 3.0 License.
    
    #############################################################################################
    #############################################################################################
    ##
    ## more general block with standard definitions
    ##
    #############################################################################################
    #############################################################################################
    
    # get Makefile directory name: http://stackoverflow.com/a/5982798/376773
    THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
    THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)/
    THIS_MAKEFILE:=$(THIS_DIR)$(THIS_MAKEFILE_PATH)
    
    # colors
    BLACK        := $(shell tput -Txterm setaf 0)
    RED          := $(shell tput -Txterm setaf 1)
    GREEN        := $(shell tput -Txterm setaf 2)
    YELLOW       := $(shell tput -Txterm setaf 3)
    LIGHTPURPLE  := $(shell tput -Txterm setaf 4)
    PURPLE       := $(shell tput -Txterm setaf 5)
    BLUE         := $(shell tput -Txterm setaf 6)
    WHITE        := $(shell tput -Txterm setaf 7)
    RESET        := $(shell tput -Txterm sgr0)
    
    INFO    := $(GREEN)
    COMMENT := $(YELLOW)
    
    # Output control and standard outputs
    MARKER           := $(BLUE)[+]$(RESET)
    ERRORMARKER      := $(RED)[-]$(RESET)
    ## Deactivate the QUIET mode by overwriting the value with space
    
    ifndef DEBUG
        QUIET = @
    else
        QUIET = 
    endif
    
    ifndef DONTOPENBROWSER
        OPENBROWSER = true
    else
        OPENBROWSER = false
    endif
    
    ECHO             := @echo
    ECHOMARKER       := @echo "$(MARKER) $0"
    ECHOERRORMARKER  := @echo "$(ERRORMARKER) $0"
    
    # Use bash instead of sh
    ## Sets the shell used
    SHELL            =  bash
    
    # path and binaries
    AWK              := awk
    CP               := cp
    CD               := cd
    KILL             := /bin/kill
    M4               := m4
    MV               := mv
    RM               := rm -f