Encoder-nyuenc / src / main / Makefile
Makefile
Raw
CC=gcc
CFLAGS=-g -pedantic -std=gnu17 -Wall -Werror -Wextra # -D DEBUG
LDFLAGS=-pthread

.PHONY: all
all: nyuenc

# nyuenc
nyuenc: nyuenc.o parser.o threadpool.o taskqueue.o resultqueue.o encoder.o
nyuenc.o: nyuenc.c
parser.o: parser.c
threadpool.o: threadpool.c
taskqueue.o: taskqueue.c
resultqueue.o: resultqueue.c
encoder.o: encoder.c

.PHONY: clean
clean:
	rm -f *.o nyuenc