The rails now end at a shoreline. Four vessels join the roster with an animated sea (swell pattern, glints, hull bob, bow spray, stern wake), a flapping Jolly Roger and turning paddle wheel on the same 4-frame machinery as the locomotive wheels, per-vessel liveries and whistles, an iceberg finale for -a at sea, the Flying Dutchman for -F, and -d, which summons a dolphin that dives ahead of the ship on the angle its art was drawn at. The tug travels diagonally for the same reason. Also ships the outstanding audit fixes: smoke lingers after the train exits, narrow-terminal crashes stay on-screen, -t fully overrides -l, make demo runs the train it advertises, --speed documents its clamp, CODE_OF_CONDUCT.md exists, LICENSE year range updated.
53 lines
No EOL
1.1 KiB
Makefile
53 lines
No EOL
1.1 KiB
Makefile
# Makefile for sl (Steam Locomotive)
|
|
# Author: Reverend Steven Milanese
|
|
|
|
PREFIX = /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
INSTALL = install
|
|
RM = rm -f
|
|
|
|
# Default target
|
|
all:
|
|
@echo "sl - Steam Locomotive"
|
|
@echo "Usage: make install - Install sl to $(BINDIR)"
|
|
@echo " make uninstall - Remove sl from $(BINDIR)"
|
|
@echo " make test - Test sl locally"
|
|
|
|
# Install sl
|
|
install:
|
|
$(INSTALL) -d $(BINDIR)
|
|
$(INSTALL) -m 755 sl $(BINDIR)/sl
|
|
@echo "sl installed to $(BINDIR)/sl"
|
|
@echo "Type 'sl' to see the train!"
|
|
|
|
# Uninstall sl
|
|
uninstall:
|
|
$(RM) $(BINDIR)/sl
|
|
@echo "sl removed from $(BINDIR)"
|
|
|
|
# Test locally
|
|
test:
|
|
./sl
|
|
|
|
# Run with different options
|
|
demo:
|
|
@echo "=== Classic Train ==="
|
|
./sl -t classic
|
|
@echo "=== Flying Train ==="
|
|
./sl -F
|
|
@echo "=== C51 Train ==="
|
|
./sl -c
|
|
@echo "=== Accident ==="
|
|
./sl -a
|
|
@echo "=== Pirate Galleon ==="
|
|
./sl -t galleon
|
|
@echo "=== Sternwheel Steamer ==="
|
|
./sl -t steamer
|
|
@echo "=== Tug (perspective) ==="
|
|
./sl -t tug
|
|
@echo "=== Dolphin Escort ==="
|
|
./sl -t galleon -d
|
|
@echo "=== Iceberg ==="
|
|
./sl -t steamer -a
|
|
|
|
.PHONY: all install uninstall test demo |