Made DESTDIR a variable passable through the shell invocation
This commit is contained in:
parent
29ec8263d4
commit
bc55b53f8a
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Reference in a new issue