Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / mplexlo / Makefile
diff --git a/cinelerra-5.1/mplexlo/Makefile b/cinelerra-5.1/mplexlo/Makefile
new file mode 100644 (file)
index 0000000..e232802
--- /dev/null
@@ -0,0 +1,25 @@
+include ../global_config
+
+OBJS = $(OBJDIR)/mplex.o
+CC = gcc
+CFLAGS += -I../libzmpeg3
+
+OUTPUT := $(OBJDIR)/mplexlo
+
+$(OUTPUT): $(OBJS)
+       $(CXX) -o $(OUTPUT) $(OBJS) ../libzmpeg3/$(OBJDIR)/libzmpeg3.a -lpthread -lm -lX11
+
+$(OBJS):
+       $(CXX) -c $(CFLAGS) $(subst $(OBJDIR)/,, $*.c) -o $*.o
+
+clean:
+       find \( -name core \
+               -o -name '*.o' \
+               -o -name '*.a' \
+               -o -name '*.so' \) -exec rm -f {} \;
+       rm -rf $(OBJDIR)
+
+install:
+       cp $(OUTPUT) /usr/bin
+
+$(OBJDIR)/mplex.o: mplex.c