Commit 3efcf250 authored by igorefremov's avatar igorefremov

Updated makefile to allow for DESTDIR

Allows the makefile to install to a root defined by DESTDIR, if DESTDIR is provided in the command line.  Otherwise, it installs to the default location
parent b76c90e4
......@@ -146,7 +146,7 @@ dep:
$(CC) -MM *.c
# Installation related variables and target
PREFIX?=/usr/local
PREFIX?=$(DESTDIR)/usr/local
INCLUDE_PATH?=include
LIBRARY_PATH?=lib
INSTALL_INCLUDE_PATH= $(PREFIX)/$(INCLUDE_PATH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment