summaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b05411c..44dbfeb 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,3 +1,8 @@
+# // ============================================================= //
+# // nebuild
+# // Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under BSD-3 license.
+# // ============================================================= //
+
SUDO=sudo
GCC=g++
GCC_MINGW=x86_64-w64-mingw32-g++
@@ -10,15 +15,16 @@ CP=cp
.PHONY: build-nebuild
build-nebuild:
$(SUDO) $(GCC) $(CXXFLAGS) $(SRC) $(CXXSTD) -o $(OUT)
- $(SUDO) $(CP) $(OUT) /usr/local/bin
+ @echo "=> NeBuild built successfully for POSIX."
.PHONY: build-nebuild-windows
build-nebuild-windows:
$(GCC_MINGW) $(CXXFLAGS) $(SRC) -o $(OUT).exe
+ @echo "=> NeBuild built successfully for Windows."
.PHONY: help
help:
- @echo "NEBUILD => HELP"
+ @echo "=> NEBUILD HELP:"
@echo "=> help: Show this help message."
@echo "=> build-nebuild-windows: Build NeBuild for Windows."
@echo "=> build-nebuild: Build NeBuild for POSIX."