Browse Source

Add Makefile entry for the drawtext filter

Originally committed as revision 1576 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Philip Gladstone 23 years ago
parent
commit
b90a6beb8a
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      vhook/Makefile

+ 8
- 0
vhook/Makefile View File

@@ -13,6 +13,11 @@ ifeq ($(HAVE_IMLIB2),yes)
HOOKS += imlib2.so
endif

ifeq ($(HAVE_FREETYPE2),yes)
HOOKS += drawtext.so
CFLAGS += `freetype-config --cflags`
endif

all: $(HOOKS)

SRCS := $(HOOKS:.so=.c)
@@ -26,6 +31,9 @@ install:
imlib2.so: imlib2.o
$(CC) -g -o $@ $(SHFLAGS) $< -lImlib2

drawtext.so: drawtext.o
$(CC) -g -o $@ $(SHFLAGS) $< `freetype-config --libs`

%.so: %.o
$(CC) -g -o $@ $(SHFLAGS) $<



Loading…
Cancel
Save