Mercurial > libpostproc.hg
annotate Makefile @ 37:ef705b924335 libpostproc
allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible
due to how make handles vpath
| author | mru |
|---|---|
| date | Wed, 08 Nov 2006 00:02:15 +0000 |
| parents | cd4aa05e3b5d |
| children | 7bd9f7dcef91 |
| 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 | |
| 37 | 20 include ../common.mak |
| 0 | 21 |
| 35 | 22 depend dep: postprocess.c |
| 14 | 23 |
| 0 | 24 postprocess_pic.o: postprocess.c |
| 9 | 25 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $< |
| 0 | 26 |
