1 export TOPDIR ?= $(CURDIR)/..
2 include $(TOPDIR)/global_config
4 ifneq ($(WANT_LIBZMPEG),no)
6 $(shell mkdir -p $(OBJDIR))
7 OBJS = $(OBJDIR)/mplex.o
10 CFLAGS += -I$(LIBZMPEG3)
11 CFLAGS += $(static_incs)
13 LIBS := $(LIBZMPEG3)/$(OBJDIR)/libzmpeg3.a
16 ifeq ($(WANT_CIN_3RDPARTY),no)
19 ifeq ($(shell uname -o), Android)
20 LIBS += ../libbthread-master/jpt.a
23 OUTPUT := $(OBJDIR)/mplexlo
25 $(OUTPUT) all: $(OBJS)
26 @echo $(CXX) -o $(OUTPUT) $(OBJS)
27 @$(CXX) -o $(OUTPUT) $(OBJS) $(LIBS)
30 $(CXX) -c $(CFLAGS) $(subst $(OBJDIR)/,, $*.c) -o $*.o
36 cp $(OUTPUT) $(BINDIR)/.
38 $(OBJDIR)/mplex.o: mplex.c