Makefile
changeset 217 fdcf941346bb
parent 216 27e5bda72c38
child 218 92582492ecde
equal deleted inserted replaced
216:27e5bda72c38 217:fdcf941346bb
     6 # Disable built in variables.
     6 # Disable built in variables.
     7 MAKEFLAGS += -R
     7 MAKEFLAGS += -R
     8 # Disable built in suffix rules.
     8 # Disable built in suffix rules.
     9 .SUFFIXES:
     9 .SUFFIXES:
    10 # Default target.
    10 # Default target.
    11 .DEFAULT_GOAL = all
    11 .DEFAULT_GOAL = help
    12 
    12 
    13 .PHONY: all
    13 .PHONY: all
    14 all:
    14 all:
    15 
    15 
    16 ifeq '' '$(HOME)'
    16 ifeq '' '$(HOME)'
    94 .PHONY: clean
    94 .PHONY: clean
    95 clean:
    95 clean:
    96 
    96 
    97 .PHONY: distclean
    97 .PHONY: distclean
    98 distclean: clean
    98 distclean: clean
       
    99 
       
   100 ################################################################
       
   101 # Helper target.
       
   102 
       
   103 .PHONY: help
       
   104 help:
       
   105 	@echo
       
   106 	@echo Supported targets:
       
   107 	@sed -n -e '/^[[:alnum:]_-]*:/{s=^\(.*\):.*=  \1=;p;}' $(MAKEFILE_LIST)
       
   108