# Build Linux binaries (recommended)
make linux-only
# Show all available targets
make help
# Clean and rebuild
make clean && make linux-only| Target | Description |
|---|---|
all |
Build all binaries for Linux and Windows (default) |
linux-only |
Build and test only Linux binaries (recommended) |
linux |
Build Linux binaries only |
windows |
Build Windows binaries only |
test-binaries |
Test built binaries |
force |
Force rebuild ignoring version tracking |
clean |
Remove built binaries (safe, preserves source) |
deepclean |
Remove everything including cloned x3270 source |
help |
Show help message |
# Use a different version
make X3270_VERSION=4.3ga10 linux-only
# Check current version
make help-
Linux binaries:
binaries/linux/- s3270
- x3270if
-
Windows binaries:
binaries/windows/- s3270.exe
- x3270if.exe
- ws3270.exe
- wc3270.exe
The Makefile tracks the last built version in .x3270_version:
- Prevents redundant builds
- Use
make forceto rebuild the same version - Use
make deepcleanfor complete reset
make linux-onlymake X3270_VERSION=4.4ga7 deepclean linux-onlymake forcemake all- Windows builds may fail due to MinGW dependencies
- Use
linux-onlyfor most reliable results - Build directory:
/tmp/x3270-build - Version file:
.x3270_version(gitignored)
- MAKEFILE_README.md - Full documentation
- x3270 GitHub - Upstream project