Commit e7797e32

e7797e322f1bMerged

Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 2 files · ~2 modified

Description

Build the executables into bin/ (spinel and the companion tools)

Put the final executables in one place: make now links the compiler to bin/spinel and compiles the tools to bin/spinel-{doctor,reduce,flatten} beside it, instead of leaving spinel in build/ among the intermediates. bin/ sits beside lib/, so the relocated binary resolves its runtime lib through ../lib exactly as build/spinel did — no code change needed.

install installs each bin/spinel- to $(PREFIX)/bin (the compiler keeps its $(SPNLDIR)/lib/spinel home with the bin/spinel symlink); clean wipes bin/; .gitignore ignores it. The repo-root ./spinel dev symlink now points at bin/spinel. Everything else uses $(SPINEL), so the move is a one-variable change.

Co-Authored-By: Claude Opus 4.8 [email protected]

Details

Commit
e7797e322f1b
Parent
0329df9568dc

.gitignoremodifiedView file

@@ -11,9 +11,10 @@
1111
1212 # Build artifacts
1313 /build/
14+/bin/
1415 /legacy/build/
1516 /vendor/
16-# Dev convenience symlink to build/spinel (created by `make`)
17+# Dev convenience symlink to bin/spinel (created by `make`)
1718 /spinel
1819
1920 # Temp files