improved makefile
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,3 +1,4 @@
|
||||
|
||||
# - - - - - - - #
|
||||
# #
|
||||
# COLORS #
|
||||
@@ -24,10 +25,12 @@ B_WHITE = "\e[1;37m"
|
||||
|
||||
RESET = "\e[0m"
|
||||
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
|
||||
# . name = value \ . += append to a variable #
|
||||
# VARIABLES . value . != set result of command #
|
||||
# . name is case sensitive . ?= set if not already set #
|
||||
# . name = value \ . += append to a variable #
|
||||
# VARIABLES . value . != set result of command #
|
||||
# . . ?= set if not already set #
|
||||
# . (case sensitive) . := expand once at definition line #
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
|
||||
|
||||
NAME = containers
|
||||
@@ -79,6 +82,7 @@ DEPS = $(OBJS:.o=.d) #see end-page note on header dependencie
|
||||
# . target: prerequisites . $@ : target #
|
||||
# RULES . recipe . $< : 1st prerequisite #
|
||||
# . @recipe (silent) . $^ : all prerequisites #
|
||||
# . target: VAR = assignment . | : order-only prereq. #
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
|
||||
|
||||
all: $(NAME_FT) $(NAME_STL)
|
||||
|
||||
Reference in New Issue
Block a user