summaryrefslogtreecommitdiff
path: root/libpostproc/Makefile
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-01-14 14:42:29 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-14 14:42:29 +0000
commit363728ea0e11b206cd8d92c73981bd2567e4f3bd (patch)
treefb7bab096f588e0cd6900bf855b58418870f2274 /libpostproc/Makefile
parent750e37eb8313c1d00294c9b472b4ab15b4824811 (diff)
Build both static and shared libs from the same object.
This makes libpostproc consistent with all the other libraries. patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com Originally committed as revision 11526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/Makefile')
-rw-r--r--libpostproc/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/libpostproc/Makefile b/libpostproc/Makefile
index a39470be5a..0d0bfd8bce 100644
--- a/libpostproc/Makefile
+++ b/libpostproc/Makefile
@@ -12,15 +12,9 @@ LIBMAJOR=$(SPPMAJOR)
HEADERS = postprocess.h
-include ../common.mak
-
-$(LIBNAME): postprocess.o
-$(SLIBNAME_WITH_MAJOR): postprocess_pic.o
+OBJS = postprocess.o
-depend dep: postprocess.c
-
-postprocess_pic.o: postprocess.c
- $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
+include ../common.mak
uninstall-headers::
-rmdir "$(prefix)/include/postproc"