17 lines
304 B
Plaintext
17 lines
304 B
Plaintext
CC = gcc
|
||
CFLAGS = -Wall -Wextra -std=c99
|
||
|
||
all: compressor
|
||
|
||
compressor: main.o compressor.o
|
||
$(CC) $(CFLAGS) -o compressor 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 compressorу
|