Propagate prefix settings to Makefiles

A "make install" was failing because the --prefix flag
setting was not being propagated to the Makefiles.
This commit is contained in:
Pramode
2019-01-20 19:09:07 +05:30
parent 7efe1f06ee
commit 81649d9979
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ CFLAGS=-g -I../src/include @CFLAGS@
LIBNDPI=../src/lib/libndpi.a
LDFLAGS=$(LIBNDPI) @PCAP_LIB@ -lpthread @LDFLAGS@
OBJS=ndpiReader.o ndpi_util.o
PREFIX?=/usr/local
PREFIX?=@prefix@
all: ndpiReader @DPDK_TARGET@
+1 -1
View File
@@ -10,7 +10,7 @@
#
# Installation directories
#
prefix = /usr/local
prefix = @prefix@
libdir = ${prefix}/lib
includedir = ${prefix}/include/ndpi
CC = @CC@