Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.86 KB | None | 0 0
  1. LIB = -lavformat -lavcodec -lavutil -lswscale -ldl \
  2.     -lswresample -lavdevice -lavfilter -lnsl -lcrypt -lpthread
  3. CXXFLAGS = -g -O2 -Wall -msse -mmmx -pthread -Wno-deprecated-declarations
  4.  
  5.  
  6. CXXFLAGS += -I utils/src/ -I libott -D__STDC_CONSTANT_MACROS
  7. LIB += -L utils/lib/ -lxutils -lcrypt -L libott -lqott -lm
  8.  
  9. CP = cp -f
  10. MV = mv -f
  11. RM = rm -rf
  12.  
  13. VPATH = src
  14. INSTALL = bin
  15.  
  16. OBJS = qpix.o \
  17.         decoder.o \
  18.         recovery.o \
  19.         version.o \
  20.         config.o \
  21.         image.o \
  22.         license.o \
  23.         jsonwork.o \
  24.         ottwork.o \
  25.         meta.o \
  26.         pesdata.o \
  27.         deleter.o
  28.  
  29. .cpp.o:
  30.     $(CXX) $(CXXFLAGS) -c $< $(LIB)
  31.  
  32. qpix: $(OBJS)
  33.     $(CXX) $(CXXFLAGS) -o qpix $(OBJS) $(LIB)
  34.     @test -d $(INSTALL) || mkdir $(INSTALL)
  35.     @install -m 0755 qpix restart_bg.sh start_bg.sh stop_bg.sh tail_bg.sh $(INSTALL)/
  36.     @install -m 0664 qpix.cfg $(INSTALL)/
  37.  
  38. .PHONY: clean
  39. clean:
  40.     $(RM) qpix $(OBJS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement