changeset 73:cc79af45c2ae libpostproc

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
author diego
date Mon, 14 Jan 2008 14:42:29 +0000
parents 035090519df3
children d3155dbdcdcd
files Makefile
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jan 10 11:05:12 2008 +0000
+++ b/Makefile	Mon Jan 14 14:42:29 2008 +0000
@@ -12,15 +12,9 @@
 
 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"