# Make file for the encoder debug configuration

# (c) 2013-2017 Society of Motion Picture & Television Engineers LLC and Woodman Labs, Inc.
# All rights reserved--use subject to compliance with end user license agreement.

# Compile and link using the GCC toolset
CC = gcc

# Define the include path for all builds
INCPATH = -I../../../include -I../../../../common/include -I../../../../tables

# Set compiler flags for a debug build
CFLAGS = -g -Wall $(INCPATH) -D_DEBUG=1 -D_TIMING=0 -D_ENCODER=1 -w  -c

# Include the list of source files
include ../sources.mk

# Define the object files to compile
OBJS = $(notdir $(SOURCES:%.c=%.o))

# Define the dependency files
#DEPS = $(SOURCES:%.c=%.d)
DEPS = $(notdir $(SOURCES:%.c=%.d))

# Build the release configuration
debug: encoder

# Include the build targets for the sample encoder
include ../encoder.mk
