mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-25 12:23:59 +00:00
Merge branch 'master' of https://github.com/anshul1912/ccextractor
This commit is contained in:
commit
29689b10aa
@ -1,12 +1,15 @@
|
|||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
SYS := $(shell gcc -dumpmachine)
|
||||||
CFLAGS = -O3 -std=gnu99
|
CFLAGS = -O3 -std=gnu99
|
||||||
INCLUDE = -I../src/gpacmp4/ -I../src/libpng -I../src/zlib
|
INCLUDE = -I../src/gpacmp4/ -I../src/libpng -I../src/zlib
|
||||||
ALL_FLAGS = -Wno-write-strings -D_FILE_OFFSET_BITS=64
|
ALL_FLAGS = -Wno-write-strings -D_FILE_OFFSET_BITS=64
|
||||||
LDFLAGS = -lm
|
LDFLAGS = -lm
|
||||||
|
|
||||||
|
ifneq (, $(findstring linux, $(SYS)))
|
||||||
|
CFLAGS +=-DGPAC_CONFIG_LINUX
|
||||||
|
endif
|
||||||
TARGET = ccextractor
|
TARGET = ccextractor
|
||||||
|
|
||||||
OBJS_DIR = objs
|
OBJS_DIR = objs
|
||||||
@ -41,9 +44,9 @@ LDFLAGS+= $(shell pkg-config --libs tesseract)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(ENABLE_FFMPEG),yes)
|
ifeq ($(ENABLE_FFMPEG),yes)
|
||||||
CFLAGS+=-DENABLE_FFMPEG
|
CFLAGS+=-DENABLE_FFMPEG
|
||||||
CFLAGS+= $(shell pkg-config --libs libavcodec)
|
CFLAGS+= $(shell pkg-config --cflags libavcodec)
|
||||||
CFLAGS+= $(shell pkg-config --libs libavformat)
|
CFLAGS+= $(shell pkg-config --cflags libavformat)
|
||||||
CFLAGS+= $(shell pkg-config --libs libavutil)
|
CFLAGS+= $(shell pkg-config --cflags libavutil)
|
||||||
LDFLAGS+= $(shell pkg-config --libs libavcodec )
|
LDFLAGS+= $(shell pkg-config --libs libavcodec )
|
||||||
LDFLAGS+= $(shell pkg-config --libs libavformat )
|
LDFLAGS+= $(shell pkg-config --libs libavformat )
|
||||||
LDFLAGS+= $(shell pkg-config --libs libavutil )
|
LDFLAGS+= $(shell pkg-config --libs libavutil )
|
||||||
|
Loading…
Reference in New Issue
Block a user