diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -15,6 +15,18 @@ linux: deps-linux | |||
| 15 | $(MAKE) -C src -f Makefile -j$(NPROC) | 15 | $(MAKE) -C src -f Makefile -j$(NPROC) |
| 16 | strip src/bitflash | 16 | strip src/bitflash |
| 17 | $(MAKE) -f Makefile appimage | 17 | $(MAKE) -f Makefile appimage |
| 18 | $(MAKE) -f Makefile linux-node | ||
| 19 | |||
| 20 | # Headless node, no ImGui/GLFW/OpenGL. The GUI build needs libGL present at load | ||
| 21 | # time even when started with -nogui -- the dynamic loader resolves everything | ||
| 22 | # before main() runs, so the flag comes far too late. On a clean server, which is | ||
| 23 | # where a node most naturally lives, that is a hard failure. This binary has no | ||
| 24 | # such dependency and needs no FUSE either, so it drops onto a VPS and runs. | ||
| 25 | linux-node: deps-linux | ||
| 26 | $(MAKE) -C src -f Makefile bitflash-node -j$(NPROC) | ||
| 27 | strip src/bitflash-node | ||
| 28 | cp src/bitflash-node bitflash-node-$(VERSION)-x86_64 | ||
| 29 | @echo "Built: bitflash-node-$(VERSION)-x86_64" | ||
| 18 | 30 | ||
| 19 | deps-linux: deps-apt deps-secp256k1 deps-randomx | 31 | deps-linux: deps-apt deps-secp256k1 deps-randomx |
| 20 | 32 | ||