X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fmplexlo%2FMakefile;fp=cinelerra-5.1%2Fmplexlo%2FMakefile;h=e232802f8616e24ea95f3f8109a74bb08f46e81f;hp=0000000000000000000000000000000000000000;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b diff --git a/cinelerra-5.1/mplexlo/Makefile b/cinelerra-5.1/mplexlo/Makefile new file mode 100644 index 00000000..e232802f --- /dev/null +++ b/cinelerra-5.1/mplexlo/Makefile @@ -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