Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / mplexlo / Makefile
1 include ../global_config
2
3 OBJS = $(OBJDIR)/mplex.o
4 CC = gcc
5 CFLAGS += -I../libzmpeg3
6
7 OUTPUT := $(OBJDIR)/mplexlo
8
9 $(OUTPUT): $(OBJS)
10         $(CXX) -o $(OUTPUT) $(OBJS) ../libzmpeg3/$(OBJDIR)/libzmpeg3.a -lpthread -lm -lX11
11
12 $(OBJS):
13         $(CXX) -c $(CFLAGS) $(subst $(OBJDIR)/,, $*.c) -o $*.o
14
15 clean:
16         find \( -name core \
17                 -o -name '*.o' \
18                 -o -name '*.a' \
19                 -o -name '*.so' \) -exec rm -f {} \;
20         rm -rf $(OBJDIR)
21
22 install:
23         cp $(OUTPUT) /usr/bin
24
25 $(OBJDIR)/mplex.o: mplex.c