First iteration

This commit is contained in:
Martino Ferrari
2026-05-07 16:47:32 +02:00
commit e3d621c425
12 changed files with 5839 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# Makefile for RTM3004 Remote Scope
APP_NAME = remote_scope
VERSION = 1.0.0
AUTHOR = "RemoteScope Author"
TARGET_WIN = x86_64-pc-windows-gnu
.PHONY: all build-linux build-windows clean help
help:
@echo "Usage:"
@echo " make build-linux - Build for the current Linux host"
@echo " make build-windows - Cross-compile for Windows (requires $(TARGET_WIN) target)"
@echo " make all - Build for both Linux and Windows"
all: build-linux build-windows
build-linux:
cargo build --release
@echo "Linux build complete: target/release/$(APP_NAME)"
build-windows:
@rustup target add $(TARGET_WIN) > /dev/null 2>&1 || true
cargo build --release --target $(TARGET_WIN)
@echo "Windows build complete: target/$(TARGET_WIN)/release/$(APP_NAME).exe"
clean:
cargo clean