summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2024-10-25 18:44:01 +0200
committerAmlal <amlal.elmahrouss@icloud.com>2024-10-25 18:44:01 +0200
commitd7dcb2695ca2c69b45314cfc261c395e935d355b (patch)
tree32ed6a8aa938944a76eb407ecbc223a2d3a76e32 /makefile
parentb2c3e134b968e75faf6db29536755f0304c63b64 (diff)
IMP: Add a new contract method for those who implements IManifestBuilder.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/makefile b/makefile
index d8851f1..adf380b 100644
--- a/makefile
+++ b/makefile
@@ -1,18 +1,14 @@
-.PHONY: build-btb-core
-build-btb-core:
- sudo g++ -I./BTBKit 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./BTBKit I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -L/usr/local -lbtb -o btb
+ sudo g++ -I./BTBKit -I./vendor $(wildcard cli/*.cc) $(wildcard src/*.cc) -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./BTBKit -I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -o btb.exe
+ x86_64-w64-mingw32-g++.exe -I./BTBKit -I./vendor $(wildcard cli/*.cc) $(wildcard src/*.cc) -std=c++20 -o btb.exe
.PHONY: help
help:
- @echo "=> build-btb-core"
+ @echo "=> build-btb-windows"
@echo "=> build-btb"