projects
/
adu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e63f5
)
Use ?:= as the assignement operator for PREFIX.
author
Andre Noll
<maan@systemlinux.org>
Mon, 2 Nov 2009 13:45:15 +0000
(14:45 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 2 Nov 2009 13:45:15 +0000
(14:45 +0100)
This creates a simply expanded variable which is more suitable for
the PREFIX variable.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index c61dff74c58533953951f105aaec1ce4c7965496..78c9b1697b647cb6a56c9814ea2a94d8b86b8bdd 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,7
+19,7
@@
CPPFLAGS += -I/usr/local/include
LDFLAGS += -L/usr/local/lib
-PREFIX ?= /usr/local
+PREFIX ?
:
= /usr/local
ifeq "$(origin CC)" "default"
CC := gcc
endif