summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/makefile b/makefile
index 7415acb..bf257aa 100644
--- a/makefile
+++ b/makefile
@@ -1,12 +1,12 @@
.PHONY: build-btb-core
build-btb-core:
- g++ -I./inc $(wildcard src/*.cxx) -std=c++20 -fPIC -shared -o libbtb.so
- cp libbtb.so /usr/lib
+ sudo g++ -I./inc $(wildcard src/*.cxx) -std=c++20 -fPIC -shared -o libbtb.so
+ sudo cp libbtb.so /usr/local/lib
.PHONY: build-btb
build-btb:
- g++ -I./inc $(wildcard cli/*.cxx) -lbtb -o btb
- cp btb /usr/bin
+ sudo g++ -I./inc $(wildcard cli/*.cxx) -std=c++20 -L/usr/local -lbtb -o btb
+ sudo cp btb /usr/local/bin
.PHONY: help
help: