1 include ../global_config
2 include $(THIRDPARTY)/config.mak
4 OBJS = $(OBJDIR)/mplex.o
6 CFLAGS += -I../libzmpeg3
7 CFLAGS += $(static_includes)
8 LIBS += ../libzmpeg3/$(OBJDIR)/libzmpeg3.a
9 LIBS += -Wl,--start-group $(thirdparty_libraries) -Wl,--end-group
10 LIBS += -lpthread -lasound -lm -lX11 $(EXTRA_LIBS)
12 OUTPUT := $(OBJDIR)/mplexlo
15 @echo $(CXX) -o $(OUTPUT) $(OBJS)
16 @$(CXX) -o $(OUTPUT) $(OBJS) $(LIBS)
19 $(CXX) -c $(CFLAGS) $(subst $(OBJDIR)/,, $*.c) -o $*.o
25 -o -name '*.so' \) -exec rm -f {} \;
31 $(OBJDIR)/mplex.o: mplex.c