summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-22 10:22:16 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-22 10:22:16 +0200
commite0b3869075eb6dd4d2d515f80056e2eeb1128fae (patch)
tree5158781eb6c8513d69c703e1847e1dd84094c42f /makefile
parent7927f01e875ef76185535d209c14230fe9be183d (diff)
feat(btb)!: Introducing libBTB, better API.
also: - The Codebase has been improved. - Error codes are now string messages. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'makefile')
-rw-r--r--makefile23
1 files changed, 0 insertions, 23 deletions
diff --git a/makefile b/makefile
deleted file mode 100644
index 8884c33..0000000
--- a/makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-SUDO=sudo
-GCC=g++
-GCC_MINGW=x86_64-w64-mingw32-g++
-CXXFLAGS=-I./lib -I./vendor
-CXXSTD= -std=c++20
-SRC=$(wildcard cli/*.cc) $(wildcard src/*.cc)
-OUT=btb
-CP=cp
-
-.PHONY: build-btb
-build-btb:
- $(SUDO) $(GCC) $(CXXFLAGS) $(SRC) $(CXXSTD) -o $(OUT)
- $(SUDO) $(CP) $(OUT) /usr/local/bin
-
-.PHONY: build-btb-windows
-build-btb-windows:
- $(GCC_MINGW) $(CXXFLAGS) $(SRC) -o $(OUT).exe
-
-.PHONY: help
-help:
- @echo "=> help: Show this help message."
- @echo "=> build-btb-windows: Build BTB for Windows."
- @echo "=> build-btb: Build BTB for POSIX."