Mercurial > libpostproc.hg
annotate Makefile @ 11:62779b5a2d0a libpostproc
Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
author | diego |
---|---|
date | Thu, 17 Aug 2006 16:32:08 +0000 |
parents | 5017827a174a |
children | ec78e505f42c |
rev | line source |
---|---|
0 | 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 | |
11
62779b5a2d0a
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
10
diff
changeset
|
18 CFLAGS = -I.. -I$(SRC_PATH)/libavcodec $(OPTFLAGS) |
0 | 19 # -I/usr/X11R6/include/ |
20 | |
21 include $(SRC_PATH)/common.mak | |
22 | |
23 ifeq ($(BUILD_SHARED),yes) | |
24 postprocess_pic.o: postprocess.c | |
9 | 25 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< |
0 | 26 endif |
27 |