Replace -I../-I. by -I$(BUILD_ROOT).
[ffmpeg.git] / libpostproc / Makefile
1
2 include ../config.mak
3
4 # Overload incdir, postproc include files go in a different directory.
5 incdir=$(prefix)/include/postproc
6
7 NAME=postproc
8 ifeq ($(BUILD_SHARED),yes)
9 LIBVERSION=$(SPPVERSION)
10 LIBMAJOR=$(SPPMAJOR)
11 endif
12
13 STATIC_OBJS=postprocess.o
14 SHARED_OBJS=postprocess_pic.o
15
16 HEADERS = postprocess.h
17
18 CFLAGS  = -I$(BUILD_ROOT) -I$(SRC_PATH)/libavutil $(OPTFLAGS)
19
20 include $(SRC_PATH)/common.mak
21
22 depend: postprocess.c
23
24 postprocess_pic.o: postprocess.c
25         $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
26