usaa24/sk1/Makefile
2024-12-14 14:51:40 +01:00

19 lines
319 B
Makefile

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)