fixed make vars to be consistent with other lib makefiles

This commit is contained in:
Bob Polis 2020-03-16 15:26:52 +01:00
parent 2dc9475ef7
commit 7ce22f6135

View File

@ -1,6 +1,8 @@
HDRS := $(wildcard *.hpp) HDRS := $(wildcard *.hpp)
PREFIX ?= /usr/local/include
PREFIX ?= /usr/local
INCLUDEDIR ?= $(PREFIX)/include
install: $(HDRS) install: $(HDRS)
mkdir -p $(PREFIX)/sc mkdir -p $(INCLUDEDIR)/sc
install -c -m 0666 $(HDRS) $(PREFIX)/sc install -c -m 0666 $(HDRS) $(INCLUDEDIR)/sc