Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LIB = -lavformat -lavcodec -lavutil -lswscale -ldl \
- -lswresample -lavdevice -lavfilter -lnsl -lcrypt -lpthread
- CXXFLAGS = -g -O2 -Wall -msse -mmmx -pthread -Wno-deprecated-declarations
- CXXFLAGS += -I utils/src/ -I libott -D__STDC_CONSTANT_MACROS
- LIB += -L utils/lib/ -lxutils -lcrypt -L libott -lqott -lm
- CP = cp -f
- MV = mv -f
- RM = rm -rf
- VPATH = src
- INSTALL = bin
- OBJS = qpix.o \
- decoder.o \
- recovery.o \
- version.o \
- config.o \
- image.o \
- license.o \
- jsonwork.o \
- ottwork.o \
- meta.o \
- pesdata.o \
- deleter.o
- .cpp.o:
- $(CXX) $(CXXFLAGS) -c $< $(LIB)
- qpix: $(OBJS)
- $(CXX) $(CXXFLAGS) -o qpix $(OBJS) $(LIB)
- @test -d $(INSTALL) || mkdir $(INSTALL)
- @install -m 0755 qpix restart_bg.sh start_bg.sh stop_bg.sh tail_bg.sh $(INSTALL)/
- @install -m 0664 qpix.cfg $(INSTALL)/
- .PHONY: clean
- clean:
- $(RM) qpix $(OBJS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement