diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,10 +1,10 @@ -# Veilith Portable - Makefile +# Khimera Portable - Makefile # Builds portable executables for Windows, Linux, and Android # Configuration VERSION := 0.9 BUILD_DATE := $(shell date +%Y%m%d) -OUTPUT_DIR := veilith-portable-v$(VERSION) +OUTPUT_DIR := khimera-portable-v$(VERSION) LDFLAGS := -s -w -X main.Version=$(VERSION) -X main.BuildDate=$(BUILD_DATE) # Colors for output @@ -21,7 +21,7 @@ all: portable # Help help: - @echo "Veilith Portable Build System v$(VERSION)" + @echo "Khimera Portable Build System v$(VERSION)" @echo "" @echo "Usage:" @echo " make portable - Build all portable executables" @@ -54,8 +54,8 @@ windows: install-deps go build \ -ldflags="$(LDFLAGS) -H windowsgui" \ -tags static \ - -o $(OUTPUT_DIR)/Windows/veilith.exe \ - ./veilith-main.go + -o $(OUTPUT_DIR)/Windows/khimera.exe \ + ./khimera-main.go @if [ $$? -eq 0 ]; then \ echo "$(GREEN)✓$(NC) Windows build complete"; \ else \ @@ -72,9 +72,9 @@ linux: install-deps go build \ -ldflags="$(LDFLAGS) -extldflags '-static'" \ -tags 'osusergo netgo static_build' \ - -o $(OUTPUT_DIR)/Linux/veilith-linux \ - ./veilith-main.go - @chmod +x $(OUTPUT_DIR)/Linux/veilith-linux + -o $(OUTPUT_DIR)/Linux/khimera-linux \ + ./khimera-main.go + @chmod +x $(OUTPUT_DIR)/Linux/khimera-linux @if [ $$? -eq 0 ]; then \ echo "$(GREEN)✓$(NC) Linux build complete"; \ else \ @@ -89,7 +89,7 @@ android: # Build all portable executables portable: @echo "$(BLUE)╔════════════════════════════════════════╗$(NC)" - @echo "$(BLUE)║ VEILITH PORTABLE BUILD v$(VERSION) ║$(NC)" + @echo "$(BLUE)║ KHIMERA PORTABLE BUILD v$(VERSION) ║$(NC)" @echo "$(BLUE)╚════════════════════════════════════════╝$(NC)" @echo "" @$(MAKE) -s linux @@ -110,8 +110,8 @@ test: clean: @echo "$(YELLOW)[Clean]$(NC) Removing build artifacts..." rm -rf $(OUTPUT_DIR) - rm -rf veilith-portable-v*.zip - rm -rf veilith-portable-v*.tar.gz + rm -rf khimera-portable-v*.zip + rm -rf khimera-portable-v*.tar.gz @echo "$(GREEN)✓$(NC) Clean complete" # Package distribution |
