diff options
Diffstat (limited to 'vhook')
-rw-r--r-- | vhook/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vhook/Makefile b/vhook/Makefile index cf8bdc8..2e40945 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -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) $< |