]> git.sesse.net Git - ffmpeg/blob - libpostproc/Makefile
Move libpostproc-specific uninstallation command to the libpostproc Makefile.
[ffmpeg] / libpostproc / Makefile
1
2 include ../config.mak
3
4 # Overload incdir, postproc include files go in a different directory.
5 incdir=$(prefix)/include/postproc
6
7 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
8
9 NAME=postproc
10 LIBVERSION=$(SPPVERSION)
11 LIBMAJOR=$(SPPMAJOR)
12
13 STATIC_OBJS=postprocess.o
14 SHARED_OBJS=postprocess_pic.o
15
16 HEADERS = postprocess.h
17
18 include ../common.mak
19
20 depend dep: postprocess.c
21
22 postprocess_pic.o: postprocess.c
23         $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
24
25 uninstall-headers::
26         -rmdir "$(prefix)/include/postproc"