mirror of
https://github.com/zoriya/Kyoo.Transcoder.git
synced 2025-12-06 06:26:11 +00:00
32 lines
417 B
Makefile
32 lines
417 B
Makefile
#
|
|
# Created by Anonymus Raccoon on 28/12/2019.
|
|
#
|
|
|
|
SRC = test_main.c
|
|
|
|
OBJ = $(SRC:%.c=%.o)
|
|
|
|
INCLUDE = -I ../include
|
|
|
|
CFLAGS = $(INCLUDE) -Wall -Wextra -Wshadow -g
|
|
|
|
LDFLAGS = -L ../cmake-build-debug -ltranscoder -lpthread
|
|
|
|
NAME = ts
|
|
|
|
CC = gcc
|
|
|
|
all: build
|
|
|
|
build: $(OBJ)
|
|
$(CC) -o $(NAME) $(OBJ) $(LDFLAGS)
|
|
export LD_LIBRARY_PATH=../cmake-build-debug
|
|
|
|
clean:
|
|
$(RM) $(OBJ)
|
|
|
|
fclean: clean
|
|
$(RM) $(NAME)
|
|
|
|
re: fclean all
|