summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/makefile b/makefile
index 43b8cbb..c789bf4 100644
--- a/makefile
+++ b/makefile
@@ -1,13 +1,17 @@
.PHONY: build-btb-core
build-btb-core:
- sudo g++ -I./inc $(wildcard src/*.cxx) -std=c++20 -fPIC -shared -o libbtb.so
+ sudo g++ -I./inc I./vendor $(wildcard src/*.cxx) -std=c++20 -fPIC -shared -o libbtb.so
sudo cp libbtb.so /usr/local/lib
.PHONY: build-btb
build-btb:
- sudo g++ -I./inc $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -L/usr/local -lbtb -o btb
+ sudo g++ -I./inc I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -L/usr/local -lbtb -o btb
sudo cp btb /usr/local/bin
+.PHONY: build-btb-windows
+build-btb-windows:
+ x86_64-w64-mingw32-g++.exe -I./inc -I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -o btb.exe
+
.PHONY: help
help:
@echo "=> build-btb-core"