From fa461b125415c15e52dac7d0a7e54bac182db64e Mon Sep 17 00:00:00 2001 From: Mikal Villa Date: Sat, 22 Nov 2014 23:12:05 +0100 Subject: [PATCH] Added prefix support, which enables the homebrew package to work. --- Makefile.osx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile.osx b/Makefile.osx index 98aca703..f241f31e 100644 --- a/Makefile.osx +++ b/Makefile.osx @@ -12,6 +12,15 @@ LIBS = # Found no good way to detect it from command line. TODO: Might be some osx sysinfo magic CXXFLAGS += -maes -DAESNI + +${PREFIX}: + +install: all + mkdir -p ${PREFIX}/ + cp -r i2p ${PREFIX}/ + + + # Apple Mac OSX UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwin)