From 00572642eb27896a78208748e95f22f39f1e18e4 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Mon, 27 Jan 2020 20:10:05 -0500 Subject: [PATCH] Editing DESTDIR --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4ccd491..4adc707 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ GPP = g++ -Wall -std=c++17 -O3 -DESTDIR ?= /usr/bin +DESTDIR ?= /usr sloth: src/main.cpp src/parser/lex.yy.o src/parser/parser.tab.o src/variables/environment.o src/variables/variable.o src/variables/value.o src/operations/node.o src/operations/operators.o src/string.o src/shell.o $(GPP) src/main.cpp src/parser/lex.yy.o src/parser/parser.tab.o src/variables/environment.o src/variables/variable.o src/variables/value.o src/operations/node.o src/operations/operators.o src/string.o src/shell.o -ledit -o sloth @@ -28,6 +28,6 @@ src/shell.o: src/shell.hpp src/shell.cpp src/string.o: src/string.h src/string.c $(GPP) -c src/string.c -o src/string.o install: - install sloth $(DESTDIR) + install sloth $(DESTDIR)/bin clean: rm src/parser/lex.yy.c src/parser/parser.tab.c src/parser/parser.tab.h src/parser/lex.yy.o src/parser/parser.tab.o src/variables/environment.o src/variables/variable.o src/variables/value.o src/operations/node.o src/operations/operators.o src/string.o src/shell.o sloth