1 CXXFLAGS=--std=gnu++0x -O2 -fno-math-errno -g -Wall
2 LDLIBS=-lavcodec -lavformat -lavutil -lswresample
4 all: synth decode sync cleaner
7 $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
9 OBJS=decode.o synth.o synth_main.o interpolate.o sync.o level.o filter.o
14 decode: interpolate.o audioreader.o decode.o level.o filter.o
15 $(CXX) -o $@ $^ $(LDLIBS) $(LDFLAGS)
17 synth: synth.o synth_main.o
18 $(CXX) -o $@ $^ $(LDFLAGS)
20 sync: interpolate.o sync.o
21 $(CXX) -o $@ $^ $(LDFLAGS)
24 $(CXX) -o $@ $^ $(LDFLAGS)
27 $(RM) synth decode sync cleaner $(OBJS) $(DEPS)