-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 763 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 763 Bytes
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
# OBLITERATUS - Build System (Orchestrator)
# Objective: Minimal Signature Production and Cross-Platform Synthesis
BINARY_NAME=obliteratus
SRC_GO=./src/go
SRC_C=./src/c
# Compilation Flags:
# -s: Omit symbol table and debug information.
# -w: Omit DWARF symbol table.
# These flags reduce the binary size and complexity, maintaining 'Low Signal Profile'.
LDFLAGS=-ldflags="-s -w"
all: build-windows
build-windows:
@echo "[+] Synthesizing Windows Binary (Grade S)..."
@# Go automatically integrates .s files in the same package.
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc go build $(LDFLAGS) -o bin/$(BINARY_NAME).exe $(SRC_GO)/*.go
clean:
@echo "[-] Cleaning Workspace..."
rm -rf bin/
.PHONY: all build-windows build-linux clean