using Zstd on TEV; bumping Aircompressor to 2.0.2

This commit is contained in:
minjaesong
2025-09-01 20:48:21 +09:00
parent eb6dfef5ec
commit 680b545590
7 changed files with 32 additions and 57 deletions

View File

@@ -3,11 +3,11 @@
CC = gcc
CFLAGS = -std=c99 -Wall -Wextra -O2 -D_GNU_SOURCE
LIBS = -lm -lz
LIBS = -lm -lzstd
# Source files and targets
SOURCES = encoder_tev.c encoder_tev_xyb.c
TARGETS = encoder_tev encoder_tev_xyb
SOURCES = encoder_tev.c
TARGETS = encoder_tev
# Build all encoders
all: $(TARGETS)
@@ -17,11 +17,6 @@ encoder_tev: encoder_tev.c
rm -f encoder_tev
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
# Build XYB encoder
encoder_tev_xyb: encoder_tev_xyb.c
rm -f encoder_tev_xyb
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
# Default target
$(TARGETS): all
@@ -40,8 +35,8 @@ install: $(TARGETS)
# Check for required dependencies
check-deps:
@echo "Checking dependencies..."
@echo "libzstd no longer required - using gzip compression instead"
@pkg-config --exists zlib || (echo "Error: zlib-dev not found. Install with: sudo apt install zlib1g-dev" && exit 1)
@echo "Using Zstd compression for better efficiency"
@pkg-config --exists libzstd || (echo "Error: libzstd-dev not found. Install with: sudo apt install libzstd-dev" && exit 1)
@echo "All dependencies found."
# Help