177df33d25
They now reside in the same place as the parser sample. Change-Id: Idb4471ea81a3d91eeeaf1b36053187203de9a21f
26 lines
531 B
Makefile
26 lines
531 B
Makefile
CXX := g++
|
|
CXXFLAGS := -W -Wall -g
|
|
LIBWEBM := libwebm.a
|
|
WEBMOBJS := mkvparser.o mkvreader.o mkvmuxer.o mkvmuxerutil.o mkvwriter.o
|
|
OBJECTS1 := sample.o
|
|
OBJECTS2 := sample_muxer.o
|
|
INCLUDES := -I.
|
|
EXES := samplemuxer sample
|
|
|
|
all: $(EXES)
|
|
|
|
sample: sample.o $(LIBWEBM)
|
|
$(CXX) $^ -o $@
|
|
|
|
samplemuxer: sample_muxer.o $(LIBWEBM)
|
|
$(CXX) $^ -o $@
|
|
|
|
libwebm.a: $(WEBMOBJS)
|
|
$(AR) rcs $@ $^
|
|
|
|
%.o: %.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCLUDES) $< -o $@
|
|
|
|
clean:
|
|
$(RM) -f $(OBJECTS1) $(OBJECTS2) $(WEBMOBJS) $(LIBWEBM) $(EXES) Makefile.bak
|