From: Andre Noll Date: Mon, 2 Nov 2009 13:45:15 +0000 (+0100) Subject: Use ?:= as the assignement operator for PREFIX. X-Git-Tag: v0.1.0~3 X-Git-Url: http://git.tuebingen.mpg.de/libdai.git/tree?a=commitdiff_plain;h=59af25aafd51b706ed67784aa84332965c31bb26;p=adu.git Use ?:= as the assignement operator for PREFIX. This creates a simply expanded variable which is more suitable for the PREFIX variable. --- diff --git a/Makefile b/Makefile index c61dff7..78c9b16 100644 --- 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