usaa24/sk1/Makefile

15 lines
315 B
Makefile
Raw Normal View History

2025-01-28 18:32:39 +00:00
CC = gcc
CFLAGS = -Wall -Wextra -std=c99
2025-01-27 20:29:24 +00:00
2025-01-28 18:37:30 +00:00
all: compressor
2025-01-28 18:32:39 +00:00
2025-01-28 18:37:30 +00:00
compressor: main.o compressor.o
$(CC) $(CFLAGS) -o compressor main.o compressor.o
2025-01-28 18:32:39 +00:00
2025-01-28 18:37:30 +00:00
main.o: main.c compressor.h
2025-01-28 18:32:39 +00:00
$(CC) $(CFLAGS) -c main.c
compressor.o: compressor.c compressor.h
2025-01-28 18:37:30 +00:00
$(CC) $(CFLAGS) -c compressor.c
clean:
rm -f *.o compressor