-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake
20 lines (15 loc) · 762 Bytes
/
make
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
http://www.gnu.org/software/make/manual/
From ewimmer, to debug Makefiles:
FOO:=$(warning pkg config path is $(PKG_CONFIG_PATH))
Q: how the hell do dynamic includes work?
A: see the following sections:
3.3 Including Other Makefiles
3.5 How Makefiles Are Remade
4.14 Generating Prerequisites Automatically
Q: what does it mean when a line begins with @,-,+ in a Makefile?
A: section 5 Writing Recipes in Rules.
@ - suppress echoing of the recipe line
- - ignore errors in the recipe line
+ - override '-n', '-t', '-q'
Q: how to check if a variable is equal to one of two values using the if-or-and-fun?
A: http://stackoverflow.com/questions/7324204/how-to-check-if-a-variable-is-equal-to-one-of-two-values-using-the-if-or-and-fun