shithub: openh264

ref: 4390f83cecc820beea75016b9aa74544d9d5d3e4
dir: /codec/console/enc/targets.mk/

View raw version
H264ENC_SRCDIR=codec/console/enc
H264ENC_CPP_SRCS=\
	$(H264ENC_SRCDIR)/src/welsenc.cpp\

H264ENC_OBJS += $(H264ENC_CPP_SRCS:.cpp=.$(OBJ))

OBJS += $(H264ENC_OBJS)

$(H264ENC_SRCDIR)/%.$(OBJ): $(H264ENC_SRCDIR)/%.cpp
	$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(H264ENC_CFLAGS) $(H264ENC_INCLUDES) -c $(CXX_O) $<

h264enc$(EXEEXT): $(H264ENC_OBJS) $(H264ENC_DEPS)
	$(QUIET_CXX)$(CXX) $(CXX_LINK_O) $(H264ENC_OBJS) $(H264ENC_LDFLAGS) $(LDFLAGS)

binaries: h264enc$(EXEEXT)
BINARIES += h264enc$(EXEEXT)