Make default target show help instead of building
ober
2a92e3b91d6f32728cff8403ded3a20b7518cc89
--- a/Makefile +++ b/Makefile @@ -4,9 +4,28 @@ LIBDIRS = lib:$(JERBOA) NATIVE_RS ?= $(HOME)/mine/jerboa/jerboa-native-rs/target/release export LD_LIBRARY_PATH := $(NATIVE_RS):$(LD_LIBRARY_PATH) -.PHONY: all build compile clean test keygen agent collector analyze docker secmon-musl secmon-musl-local verify-harden - -all: build +.PHONY: all help build compile clean test keygen agent collector analyze docker secmon-musl secmon-musl-local verify-harden + +all: help + +help: + @echo "jerboa-secmon — Security monitoring agent (Scheme)" + @echo "" + @echo "Build:" + @echo " make build Compile all .sls → .so modules" + @echo " make docker Build fully static binary in Docker" + @echo " make secmon-musl-local Build static binary locally (needs musl)" + @echo " make clean Remove all build artifacts" + @echo "" + @echo "Run:" + @echo " make keygen Generate ECIES keypair + PSK" + @echo " make agent Run the monitoring agent" + @echo " make collector ARGS=.. Run the event collector" + @echo " make analyze ARGS=.. Run the offline analyzer" + @echo "" + @echo "Verify:" + @echo " make test Run test suite" + @echo " make verify-harden Check binary hardening (strip, leaks, hash)" # ─── Compilation ─────────────────────────────────────────────────────────────