Mercurial > libpostproc.hg
annotate Makefile @ 33:b5cf29aef709 libpostproc
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
| author | diego |
|---|---|
| date | Sun, 15 Oct 2006 12:59:45 +0000 |
| parents | 13d2cfd2d0e1 |
| children | cd4aa05e3b5d |
| 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 | |
|
33
b5cf29aef709
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
30
diff
changeset
|
7 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
|
b5cf29aef709
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
30
diff
changeset
|
8 |
| 0 | 9 NAME=postproc |
| 10 ifeq ($(BUILD_SHARED),yes) | |
| 11 LIBVERSION=$(SPPVERSION) | |
| 12 LIBMAJOR=$(SPPMAJOR) | |
| 13 endif | |
| 14 | |
| 15 STATIC_OBJS=postprocess.o | |
| 16 SHARED_OBJS=postprocess_pic.o | |
| 17 | |
| 18 HEADERS = postprocess.h | |
| 19 | |
| 20 include $(SRC_PATH)/common.mak | |
| 21 | |
| 14 | 22 depend: postprocess.c |
| 23 | |
| 0 | 24 postprocess_pic.o: postprocess.c |
| 9 | 25 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< |
| 0 | 26 |
