CC = gcc CFLAGS = -Wall -Wextra -std=c99 TARGET = compressor SRCS = main.c compressor.c HEADERS = compressor.h OBJS = $(SRCS:.c=.o) all: $(TARGET) $(TARGET): $(OBJS) $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) %.o: %.c $(HEADERS) $(CC) $(CFLAGS) -c $< -o $@ clean: rm -f $(OBJS) $(TARGET) help: @echo "Usage: make [target]" @echo "Targets:" @echo " all - Build the project" @echo " clean - Remove all built files" @echo " help - Show this help message"