Mercurial > libpostproc.hg
comparison Makefile @ 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 | aac097949f15 |
children | 8d1245b4d7fb |
comparison
equal
deleted
inserted
replaced
72:035090519df3 | 73:cc79af45c2ae |
---|---|
10 LIBVERSION=$(SPPVERSION) | 10 LIBVERSION=$(SPPVERSION) |
11 LIBMAJOR=$(SPPMAJOR) | 11 LIBMAJOR=$(SPPMAJOR) |
12 | 12 |
13 HEADERS = postprocess.h | 13 HEADERS = postprocess.h |
14 | 14 |
15 OBJS = postprocess.o | |
16 | |
15 include ../common.mak | 17 include ../common.mak |
16 | |
17 $(LIBNAME): postprocess.o | |
18 $(SLIBNAME_WITH_MAJOR): postprocess_pic.o | |
19 | |
20 depend dep: postprocess.c | |
21 | |
22 postprocess_pic.o: postprocess.c | |
23 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< | |
24 | 18 |
25 uninstall-headers:: | 19 uninstall-headers:: |
26 -rmdir "$(prefix)/include/postproc" | 20 -rmdir "$(prefix)/include/postproc" |