can-utils: Don't overwrite PREFIX and DESTDIR when provided via the environment
[profile/ivi/can-utils.git] / Makefile
index c3e6d9c..2f79ee7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,8 @@
 #
 #  Send feedback to <linux-can@vger.kernel.org>
 
-DESTDIR =
-PREFIX = /usr/local
+DESTDIR ?=
+PREFIX ?= /usr/local
 
 MAKEFLAGS = -k