fix: Phase constants, version sync, log TTY check, Makefile warnings
Swapped EXPLOIT_PHASE_SETUP/SPRAY to match gaster execution order. Aligned version to 0.2.0 in both tr4mpass.h and start.sh. Log now checks isatty(stderr) before emitting ANSI colors. Makefile warns when pkg-config cannot find required libraries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5fccb44766
commit
3cf511c992
4 changed files with 23 additions and 6 deletions
2
Makefile
2
Makefile
|
|
@ -9,6 +9,8 @@ PKG_LIBS = libimobiledevice-1.0 libirecovery-1.0 libusb-1.0 \
|
|||
CFLAGS += $(shell pkg-config --cflags $(PKG_LIBS) 2>/dev/null)
|
||||
LDFLAGS += $(shell pkg-config --libs $(PKG_LIBS) 2>/dev/null)
|
||||
|
||||
$(foreach lib,$(PKG_LIBS),$(if $(shell pkg-config --exists $(lib) 2>/dev/null && echo ok),,$(warning Library $(lib) not found by pkg-config)))
|
||||
|
||||
# Auto-discover all C sources under src/
|
||||
SRCS = $(shell find src -name '*.c')
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue