-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
64 lines (54 loc) · 2.11 KB
/
Makefile
File metadata and controls
64 lines (54 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# NullKia Makefile
# Cross-platform build system
VERSION := 2.0.0
PREFIX := $(HOME)/.nullkia
BIN_DIR := $(HOME)/.local/bin
.PHONY: all install uninstall linux macos windows android termux clean help
all: help
help:
@echo ""
@echo " ███╗ ██╗██╗ ██╗██╗ ██╗ ██╗ ██╗██╗ █████╗ "
@echo " ████╗ ██║██║ ██║██║ ██║ ██║ ██╔╝██║██╔══██╗"
@echo " ██╔██╗ ██║██║ ██║██║ ██║ █████╔╝ ██║███████║"
@echo " ██║╚██╗██║██║ ██║██║ ██║ ██╔═██╗ ██║██╔══██║"
@echo " ██║ ╚████║╚██████╔╝███████╗███████╗██║ ██╗██║██║ ██║"
@echo " ╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝"
@echo ""
@echo " NullKia v$(VERSION) - Mobile Security Framework"
@echo ""
@echo " Usage: make <target>"
@echo ""
@echo " Targets:"
@echo " install - Install on Linux/macOS"
@echo " linux - Install on Linux"
@echo " macos - Install on macOS"
@echo " termux - Install on Android (Termux)"
@echo " uninstall - Remove NullKia"
@echo " clean - Clean build artifacts"
@echo ""
@echo " Join x.com/AnonAntics for keys!"
@echo ""
install: linux
linux:
@echo "[*] Installing NullKia for Linux..."
@./install.sh
macos:
@echo "[*] Installing NullKia for macOS..."
@./install.sh
termux:
@echo "[*] Installing NullKia for Termux..."
@pkg install -y git curl wget android-tools
@mkdir -p $(PREFIX)/{bin,lib,modules,firmware,logs,keys}
@mkdir -p $(BIN_DIR)
@cp -r . $(PREFIX)/src
@chmod +x install.sh
@./install.sh
uninstall:
@echo "[*] Uninstalling NullKia..."
@rm -rf $(PREFIX)
@rm -f $(BIN_DIR)/nullkia
@echo "[✓] NullKia uninstalled"
clean:
@echo "[*] Cleaning..."
@rm -rf build/
@echo "[✓] Clean complete"