Files
Kyoo.Transcoder/tests/Makefile
2021-03-19 14:48:27 +01:00

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