CC = gcc CFLAGS = -Wall -Wextra -std=c11 TARGET = compressor all: $(TARGET) $(TARGET): main.o compressor.o $(CC) $(CFLAGS) -o $(TARGET) main.o compressor.o main.o: main.c compressor.h $(CC) $(CFLAGS) -c main.c compressor.o: compressor.c compressor.h $(CC) $(CFLAGS) -c compressor.c clean: rm -f *.o $(TARGET)