Mercurial > libpostproc.hg
annotate Makefile @ 14:ec78e505f42c libpostproc
Fix 'make depend' for libpostproc.
author | diego |
---|---|
date | Tue, 12 Sep 2006 10:33:27 +0000 |
parents | 62779b5a2d0a |
children | ac99241b61c3 |
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 | |
14 | 23 depend: postprocess.c |
24 | |
0 | 25 ifeq ($(BUILD_SHARED),yes) |
26 postprocess_pic.o: postprocess.c | |
9 | 27 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< |
0 | 28 endif |
29 |