Terbaddo

libav program - Makefile

Dec 31st, 2013
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CXX=g++
  2. LD=g++
  3. CXXFLAGS=-D__STDC_CONSTANT_MACROS -fpermissive -Wall -g
  4. LIBS=-lavdevice -lavformat -lavutil -lswscale -lbz2 -lm -lavcodec -lpthread
  5.  
  6. %.o: %.cpp
  7.     $(CXX) -c -o $@ $< $(CXXFLAGS)
  8.  
  9. converter:main.o functions.o
  10.     $(LD) -o converter main.o functions.o $(LIBS)
RAW Paste Data