From d7dcb2695ca2c69b45314cfc261c395e935d355b Mon Sep 17 00:00:00 2001 From: Amlal Date: Fri, 25 Oct 2024 18:44:01 +0200 Subject: IMP: Add a new contract method for those who implements IManifestBuilder. Signed-off-by: Amlal --- makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'makefile') 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" -- cgit v1.2.3