usaa24/sk1/Makefile

16 lines
271 B
Makefile

CC = gcc
CFLAGS = -Wall -g
OBJ = main.o compressor.o
compressor: $(OBJ)
$(CC) $(CFLAGS) -o compressor $(OBJ)
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