From 7a608e3cf6c071dd68a9096340edc6471cb45e2d Mon Sep 17 00:00:00 2001 From: Julio Viera Date: Tue, 30 May 2017 17:23:22 -0400 Subject: [PATCH] Creates the parent folder with mkdir so it works on MacOS --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fd5979a..5d669ba 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,8 @@ all: eatmemory.c $(CC) eatmemory.c -o eatmemory install: eatmemory - install -D -m 0755 eatmemory $(PREFIX)/bin/ + mkdir -p $(PREFIX)/bin + install -m 0755 eatmemory $(PREFIX)/bin/ clean: rm -rf *o eatmemory