Archived
1
0
Fork 0

Made DESTDIR a variable passable through the shell invocation

This commit is contained in:
Brandon Rozek 2020-01-27 20:03:13 -05:00
parent 29ec8263d4
commit bc55b53f8a

View file

@ -1,5 +1,5 @@
GPP = g++ -Wall -std=c++17 -O3
DESTDIR = /usr/bin
DESTDIR ?= /usr/bin
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