Move all internal -I parameters to the front of CFLAGS to avoid using external
[libav.git] / libpostproc / Makefile
CommitLineData
bba9b16c 1
6d9a2421 2include ../config.mak
bba9b16c 3
a44a8bb8
DB
4# Overload incdir, postproc include files go in a different directory.
5incdir=$(prefix)/include/postproc
6
4bdd05e7 7NAME=postproc
ba64106a 8ifeq ($(BUILD_SHARED),yes)
f3b60109
DB
9LIBVERSION=$(SPPVERSION)
10LIBMAJOR=$(SPPMAJOR)
bba9b16c 11endif
bba9b16c 12
8b2121e3
MR
13STATIC_OBJS=postprocess.o
14SHARED_OBJS=postprocess_pic.o
bba9b16c 15
8b2121e3 16HEADERS = postprocess.h
bba9b16c 17
7981555d 18CFLAGS = -I.. -I$(SRC_PATH)/libavcodec $(OPTFLAGS)
8b2121e3 19# -I/usr/X11R6/include/
bba9b16c 20
8b2121e3 21include $(SRC_PATH)/common.mak
bba9b16c 22
ba64106a 23ifeq ($(BUILD_SHARED),yes)
bba9b16c 24postprocess_pic.o: postprocess.c
5c8dfdb4 25 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
91378af4 26endif
c86eb7ae 27